Skip to content
>_TulzaBox
Tools

Color converter

HEX, RGB, HSL, HSV and CMYK in one place, plus WCAG contrast.

hex
#5B3DF5
rgb
rgb(91 61 245)
hsl
hsl(250 90% 60%)
hsv
hsv(250, 75%, 96%)
cmyk
cmyk(63%, 75%, 0%, 4%)
Aa6.12:1
Contrast with white · WCAG AA for text: passes
Aa3.43:1
Contrast with black · WCAG AA for text: fails
Shades

Everything runs in your browser: your input and files are never uploaded.

How to use

  1. Enter a colour in any format (#5b3df5, rgb(91 61 245), hsl(250 90% 60%)) or pick one.
  2. Copy any format with one click.
  3. Check contrast against white and black text and pick a shade.

FAQ

RGB vs CMYK?

RGB is for screens (light), CMYK for print (ink). CMYK conversion is approximate: the exact result depends on the printer profile.

What is WCAG contrast?

An accessibility standard. Normal text needs at least 4.5:1 contrast with its background (level AA), large text 3:1.

Is transparency supported?

Yes: 8-digit HEX (#RRGGBBAA), rgb() and hsl() with alpha.

Related tools