#6039CD#6039CD

#6039CD is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.213 H 287.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6039CD
RGBrgb(96, 57, 205)
HSLhsl(256, 60%, 51%)
HSVhsv(256, 72%, 80%)
CMYKcmyk(53.2%, 72.2%, 0%, 19.6%)
CIE-LABlab(37.52, 52.70, -70.53)
CIE-LCHlch(37.52, 88.05, 306.77°)
OKLaboklab(48.47% 0.0648 -0.2028)
OKLCHoklch(48.47% 0.213 287.7)
XYZxyz(17.3032, 9.8200, 58.7295)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039CD #A6CD39
analogous
#395CCD #6039CD #AA39CD
triadic
#6039CD #CD6039 #39CD60
tetradic
#6039CD #CD395C #A6CD39 #39CDAA
square
#6039CD #CD395C #A6CD39 #39CDAA
split-complementary
#6039CD #CDAA39 #5CCD39
monochromatic
#321C6F #4828A0 #6039CD #876AD9 #AE9BE6

Accessibility & contrast

On white

7.08
#6039CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6039CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039CD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039CD#FFFFFF#000000##FFFFFF
##6039CD1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#346180
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6039cd;
/* rgb */ color: rgb(96, 57, 205);
/* oklch */ color: oklch(48.5% 0.213 287.7);
Tailwind
colors: {
  custom: {
    50: '#9873dd',
    500: '#6039cd',
    950: '#000000',
  },
}
SCSS
$custom: #6039cd;
$custom-light: #9873dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6039cd",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 255.811,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48466,
    "c": 0.21288,
    "h": 287.7
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#6039CD
secondary
#C0D290
accent
#E345B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6039CD

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

Preview Lab → · Contrast checker → · Palette generator →

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