#6039B9#6039B9

#6039B9 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.190 H 291.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6039B9
RGBrgb(96, 57, 185)
HSLhsl(258, 53%, 47%)
HSVhsv(258, 69%, 73%)
CMYKcmyk(48.1%, 69.2%, 0%, 27.5%)
CIE-LABlab(35.82, 47.09, -61.61)
CIE-LCHlch(35.82, 77.54, 307.39°)
OKLaboklab(46.74% 0.0687 -0.1766)
OKLCHoklch(46.74% 0.19 291.3)
XYZxyz(15.0415, 8.9153, 46.8178)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039B9 #92B939
analogous
#3952B9 #6039B9 #A039B9
triadic
#6039B9 #B96039 #39B960
tetradic
#6039B9 #B93952 #92B939 #39B9A0
square
#6039B9 #B93952 #92B939 #39B9A0
split-complementary
#6039B9 #B9A039 #52B939
monochromatic
#2F1C5B #482B8A #6039B9 #8261CE #A790DD

Accessibility & contrast

On white

7.55
#6039B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6039B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039B9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039B9#FFFFFF#000000##FFFFFF
##6039B91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#445975
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6039b9;
/* rgb */ color: rgb(96, 57, 185);
/* oklch */ color: oklch(46.7% 0.190 291.3);
Tailwind
colors: {
  custom: {
    50: '#9572cf',
    500: '#6039b9',
    950: '#000000',
  },
}
SCSS
$custom: #6039b9;
$custom-light: #9572cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6039b9",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 258.281,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46736,
    "c": 0.1895,
    "h": 291.3
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#6039B9
secondary
#B4C886
accent
#DC4BB0
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6039B9

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

Preview Lab → · Contrast checker → · Palette generator →

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