#6039CF#6039CF

#6039CF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.215 H 287.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6039CF
RGBrgb(96, 57, 207)
HSLhsl(256, 61%, 52%)
HSVhsv(256, 72%, 81%)
CMYKcmyk(53.6%, 72.5%, 0%, 18.8%)
CIE-LABlab(37.69, 53.26, -71.40)
CIE-LCHlch(37.69, 89.08, 306.72°)
OKLaboklab(48.64% 0.0643 -0.2053)
OKLCHoklch(48.64% 0.215 287.4)
XYZxyz(17.5461, 9.9171, 60.0090)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039CF #A8CF39
analogous
#395DCF #6039CF #AB39CF
triadic
#6039CF #CF6039 #39CF60
tetradic
#6039CF #CF395D #A8CF39 #39CFAB
square
#6039CF #CF395D #A8CF39 #39CFAB
split-complementary
#6039CF #CFAB39 #5DCF39
monochromatic
#321C72 #4828A3 #6039CF #886ADB #AF9CE7

Accessibility & contrast

On white

7.04
#6039CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6039CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039CF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039CF#FFFFFF#000000##FFFFFF
##6039CF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#326281
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6039cf;
/* rgb */ color: rgb(96, 57, 207);
/* oklch */ color: oklch(48.6% 0.215 287.4);
Tailwind
colors: {
  custom: {
    50: '#9873df',
    500: '#6039cf',
    950: '#000000',
  },
}
SCSS
$custom: #6039cf;
$custom-light: #9873df;
$custom-dark: #000000;
JSON
{
  "hex": "#6039cf",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 255.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.21517,
    "h": 287.4
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6039CF

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

Preview Lab → · Contrast checker → · Palette generator →

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