#6039BC#6039BC

#6039BC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.193 H 290.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6039BC
RGBrgb(96, 57, 188)
HSLhsl(258, 53%, 48%)
HSVhsv(258, 70%, 74%)
CMYKcmyk(48.9%, 69.7%, 0%, 26.3%)
CIE-LABlab(36.07, 47.93, -62.97)
CIE-LCHlch(36.07, 79.14, 307.27°)
OKLaboklab(46.99% 0.0682 -0.1806)
OKLCHoklch(46.99% 0.193 290.7)
XYZxyz(15.3615, 9.0433, 48.5033)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039BC #95BC39
analogous
#3953BC #6039BC #A139BC
triadic
#6039BC #BC6039 #39BC60
tetradic
#6039BC #BC3953 #95BC39 #39BCA1
square
#6039BC #BC3953 #95BC39 #39BCA1
split-complementary
#6039BC #BCA139 #53BC39
monochromatic
#301D5E #482B8D #6039BC #8363D0 #A892DE

Accessibility & contrast

On white

7.48
#6039BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6039BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039BC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039BC#FFFFFF#000000##FFFFFF
##6039BC1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#425A76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6039bc;
/* rgb */ color: rgb(96, 57, 188);
/* oklch */ color: oklch(47.0% 0.193 290.7);
Tailwind
colors: {
  custom: {
    50: '#9572d1',
    500: '#6039bc',
    950: '#000000',
  },
}
SCSS
$custom: #6039bc;
$custom-light: #9572d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6039bc",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 257.863,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.19305,
    "h": 290.7
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#6039BC
secondary
#B6C988
accent
#DD4BB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6039BC

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

Preview Lab → · Contrast checker → · Palette generator →

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