#6039BD#6039BD

#6039BD is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.194 H 290.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6039BD
RGBrgb(96, 57, 189)
HSLhsl(258, 54%, 48%)
HSVhsv(258, 70%, 74%)
CMYKcmyk(49.2%, 69.8%, 0%, 25.9%)
CIE-LABlab(36.15, 48.21, -63.43)
CIE-LCHlch(36.15, 79.67, 307.24°)
OKLaboklab(47.07% 0.068 -0.1819)
OKLCHoklch(47.07% 0.194 290.5)
XYZxyz(15.4697, 9.0866, 49.0730)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039BD #96BD39
analogous
#3954BD #6039BD #A239BD
triadic
#6039BD #BD6039 #39BD60
tetradic
#6039BD #BD3954 #96BD39 #39BDA2
square
#6039BD #BD3954 #96BD39 #39BDA2
split-complementary
#6039BD #BDA239 #54BD39
monochromatic
#301D5F #482B8E #6039BD #8363D0 #A992DE

Accessibility & contrast

On white

7.45
#6039BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6039BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039BD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039BD#FFFFFF#000000##FFFFFF
##6039BD1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#415B77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6039bd;
/* rgb */ color: rgb(96, 57, 189);
/* oklch */ color: oklch(47.1% 0.194 290.5);
Tailwind
colors: {
  custom: {
    50: '#9672d2',
    500: '#6039bd',
    950: '#000000',
  },
}
SCSS
$custom: #6039bd;
$custom-light: #9672d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6039bd",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 257.727,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47074,
    "c": 0.19424,
    "h": 290.5
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#6039BD
secondary
#B6C989
accent
#DD4BB2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6039BD

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

Preview Lab → · Contrast checker → · Palette generator →

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