#6039D2#6039D2

#6039D2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.219 H 286.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6039D2
RGBrgb(96, 57, 210)
HSLhsl(255, 63%, 52%)
HSVhsv(255, 73%, 82%)
CMYKcmyk(54.3%, 72.9%, 0%, 17.6%)
CIE-LABlab(37.96, 54.10, -72.70)
CIE-LCHlch(37.96, 90.62, 306.66°)
OKLaboklab(48.91% 0.0637 -0.2091)
OKLCHoklch(48.91% 0.219 286.9)
XYZxyz(17.9164, 10.0652, 61.9590)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039D2 #ABD239
analogous
#395FD2 #6039D2 #AC39D2
triadic
#6039D2 #D26039 #39D260
tetradic
#6039D2 #D2395F #ABD239 #39D2AC
square
#6039D2 #D2395F #ABD239 #39D2AC
split-complementary
#6039D2 #D2AC39 #5FD239
monochromatic
#321B76 #4726A8 #6039D2 #886BDD #B09DE9

Accessibility & contrast

On white

6.97
#6039D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6039D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6039D2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039D2#FFFFFF#000000##FFFFFF
##6039D21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#2F6382
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6039d2;
/* rgb */ color: rgb(96, 57, 210);
/* oklch */ color: oklch(48.9% 0.219 286.9);
Tailwind
colors: {
  custom: {
    50: '#9873e1',
    500: '#6039d2',
    950: '#000000',
  },
}
SCSS
$custom: #6039d2;
$custom-light: #9873e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6039d2",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 255.294,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.21862,
    "h": 286.9
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#6039D2
secondary
#C4D592
accent
#E642BC
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6039D2

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

Preview Lab → · Contrast checker → · Palette generator →

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