#6039CE#6039CE

#6039CE is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.214 H 287.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6039CE
RGBrgb(96, 57, 206)
HSLhsl(256, 60%, 52%)
HSVhsv(256, 72%, 81%)
CMYKcmyk(53.4%, 72.3%, 0%, 19.2%)
CIE-LABlab(37.61, 52.98, -70.97)
CIE-LCHlch(37.61, 88.56, 306.74°)
OKLaboklab(48.56% 0.0646 -0.2041)
OKLCHoklch(48.56% 0.214 287.6)
XYZxyz(17.4243, 9.8684, 59.3672)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039CE #A7CE39
analogous
#395DCE #6039CE #AB39CE
triadic
#6039CE #CE6039 #39CE60
tetradic
#6039CE #CE395D #A7CE39 #39CEAB
square
#6039CE #CE395D #A7CE39 #39CEAB
split-complementary
#6039CE #CEAB39 #5DCE39
monochromatic
#321C71 #4828A2 #6039CE #876ADA #AF9BE6

Accessibility & contrast

On white

7.06
#6039CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6039CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039CE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039CE#FFFFFF#000000##FFFFFF
##6039CE1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#336180
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6039ce;
/* rgb */ color: rgb(96, 57, 206);
/* oklch */ color: oklch(48.6% 0.214 287.6);
Tailwind
colors: {
  custom: {
    50: '#9873de',
    500: '#6039ce',
    950: '#000000',
  },
}
SCSS
$custom: #6039ce;
$custom-light: #9873de;
$custom-dark: #000000;
JSON
{
  "hex": "#6039ce",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 255.705,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48555,
    "c": 0.21403,
    "h": 287.6
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#6039CE
secondary
#C1D291
accent
#E344BA
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6039CE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6039CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva