#6039CC#6039CC

#6039CC is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.212 H 287.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6039CC
RGBrgb(96, 57, 204)
HSLhsl(256, 59%, 51%)
HSVhsv(256, 72%, 80%)
CMYKcmyk(52.9%, 72.1%, 0%, 20%)
CIE-LABlab(37.43, 52.42, -70.09)
CIE-LCHlch(37.43, 87.53, 306.79°)
OKLaboklab(48.38% 0.065 -0.2015)
OKLCHoklch(48.38% 0.212 287.9)
XYZxyz(17.1829, 9.7718, 58.0958)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039CC #A5CC39
analogous
#395BCC #6039CC #A939CC
triadic
#6039CC #CC6039 #39CC60
tetradic
#6039CC #CC395B #A5CC39 #39CCA9
square
#6039CC #CC395B #A5CC39 #39CCA9
split-complementary
#6039CC #CCA939 #5BCC39
monochromatic
#321C6E #48299F #6039CC #876AD9 #AE9AE5

Accessibility & contrast

On white

7.11
#6039CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6039CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039CC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039CC#FFFFFF#000000##FFFFFF
##6039CC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#35607F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6039cc;
/* rgb */ color: rgb(96, 57, 204);
/* oklch */ color: oklch(48.4% 0.212 287.9);
Tailwind
colors: {
  custom: {
    50: '#9873dd',
    500: '#6039cc',
    950: '#000000',
  },
}
SCSS
$custom: #6039cc;
$custom-light: #9873dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6039cc",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 255.918,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.21172,
    "h": 287.9
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#6039CC
secondary
#C0D190
accent
#E246B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6039CC

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

Preview Lab → · Contrast checker → · Palette generator →

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