#6039C7#6039C7

#6039C7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.9% C 0.206 H 288.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6039C7
RGBrgb(96, 57, 199)
HSLhsl(256, 56%, 50%)
HSVhsv(256, 71%, 78%)
CMYKcmyk(51.8%, 71.4%, 0%, 22%)
CIE-LABlab(37.00, 51.01, -67.90)
CIE-LCHlch(37.00, 84.93, 306.92°)
OKLaboklab(47.94% 0.0661 -0.1951)
OKLCHoklch(47.94% 0.206 288.7)
XYZxyz(16.5928, 9.5358, 54.9881)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039C7 #A0C739
analogous
#3959C7 #6039C7 #A739C7
triadic
#6039C7 #C76039 #39C760
tetradic
#6039C7 #C73959 #A0C739 #39C7A7
square
#6039C7 #C73959 #A0C739 #39C7A7
split-complementary
#6039C7 #C7A739 #59C739
monochromatic
#321D68 #492B98 #6039C7 #8669D4 #AD98E2

Accessibility & contrast

On white

7.22
#6039C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6039C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039C7
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039C7#FFFFFF#000000##FFFFFF
##6039C71.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#3A5F7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6039c7;
/* rgb */ color: rgb(96, 57, 199);
/* oklch */ color: oklch(47.9% 0.206 288.7);
Tailwind
colors: {
  custom: {
    50: '#9773d9',
    500: '#6039c7',
    950: '#000000',
  },
}
SCSS
$custom: #6039c7;
$custom-light: #9773d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6039c7",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 256.479,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.20594,
    "h": 288.7
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#6039C7
secondary
#BCCE8E
accent
#DF49B6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6039C7

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

Preview Lab → · Contrast checker → · Palette generator →

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