#6039D0#6039D0

#6039D0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.216 H 287.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6039D0
RGBrgb(96, 57, 208)
HSLhsl(255, 62%, 52%)
HSVhsv(255, 73%, 82%)
CMYKcmyk(53.8%, 72.6%, 0%, 18.4%)
CIE-LABlab(37.78, 53.54, -71.84)
CIE-LCHlch(37.78, 89.59, 306.70°)
OKLaboklab(48.73% 0.0641 -0.2066)
OKLCHoklch(48.73% 0.216 287.2)
XYZxyz(17.6688, 9.9662, 60.6549)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039D0 #A9D039
analogous
#395DD0 #6039D0 #AC39D0
triadic
#6039D0 #D06039 #39D060
tetradic
#6039D0 #D0395D #A9D039 #39D0AC
square
#6039D0 #D0395D #A9D039 #39D0AC
split-complementary
#6039D0 #D0AC39 #5DD039
monochromatic
#321B73 #4827A5 #6039D0 #886ADC #AF9CE7

Accessibility & contrast

On white

7.02
#6039D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6039D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039D0
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039D0#FFFFFF#000000##FFFFFF
##6039D01.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD4
Deuteranopia (green-blind)
#0055CD
Tritanopia (blue-blind)
#316281
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6039d0;
/* rgb */ color: rgb(96, 57, 208);
/* oklch */ color: oklch(48.7% 0.216 287.2);
Tailwind
colors: {
  custom: {
    50: '#9873e0',
    500: '#6039d0',
    950: '#000000',
  },
}
SCSS
$custom: #6039d0;
$custom-light: #9873e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6039d0",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 208
  },
  "hsl": {
    "h": 255.497,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.21632,
    "h": 287.2
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#6039D0
secondary
#C2D391
accent
#E543BB
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6039D0

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

Preview Lab → · Contrast checker → · Palette generator →

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