#6039D3#6039D3

#6039D3 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.220 H 286.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6039D3
RGBrgb(96, 57, 211)
HSLhsl(255, 64%, 53%)
HSVhsv(255, 73%, 83%)
CMYKcmyk(54.5%, 73%, 0%, 17.3%)
CIE-LABlab(38.05, 54.38, -73.13)
CIE-LCHlch(38.05, 91.14, 306.64°)
OKLaboklab(49% 0.0634 -0.2104)
OKLCHoklch(49% 0.22 286.8)
XYZxyz(18.0414, 10.1152, 62.6172)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039D3 #ACD339
analogous
#395FD3 #6039D3 #AD39D3
triadic
#6039D3 #D36039 #39D360
tetradic
#6039D3 #D3395F #ACD339 #39D3AD
square
#6039D3 #D3395F #ACD339 #39D3AD
split-complementary
#6039D3 #D3AD39 #5FD339
monochromatic
#321A77 #4726A9 #6039D3 #886BDE #B09DE9

Accessibility & contrast

On white

6.95
#6039D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6039D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6039D3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039D3#FFFFFF#000000##FFFFFF
##6039D31.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#2E6383
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6039d3;
/* rgb */ color: rgb(96, 57, 211);
/* oklch */ color: oklch(49.0% 0.220 286.8);
Tailwind
colors: {
  custom: {
    50: '#9973e2',
    500: '#6039d3',
    950: '#000000',
  },
}
SCSS
$custom: #6039d3;
$custom-light: #9973e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6039d3",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 255.195,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.21976,
    "h": 286.8
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#6039D3
secondary
#C4D592
accent
#E741BD
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #6039D3

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

Preview Lab → · Contrast checker → · Palette generator →

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