#602986#602986

#602986 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.151 H 308.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#602986
RGBrgb(96, 41, 134)
HSLhsl(275, 53%, 34%)
HSVhsv(275, 69%, 53%)
CMYKcmyk(28.4%, 69.4%, 0%, 47.5%)
CIE-LABlab(28.89, 41.93, -41.97)
CIE-LCHlch(28.89, 59.32, 314.97°)
OKLaboklab(40.53% 0.0934 -0.1188)
OKLCHoklch(40.53% 0.151 308.2)
XYZxyz(9.9190, 5.7941, 23.1455)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602986 #4F8629
analogous
#322986 #602986 #86297E
triadic
#602986 #866029 #298660
tetradic
#602986 #863229 #4F8629 #297E86
square
#602986 #863229 #4F8629 #297E86
split-complementary
#602986 #7E8629 #298632
monochromatic
#1D0C28 #3E1B57 #602986 #8237B5 #9F5CCD

Accessibility & contrast

On white

9.73
#602986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#602986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602986
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602986#FFFFFF#000000##FFFFFF
##6029861.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#154584
Tritanopia (blue-blind)
#5A3D54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602986;
/* rgb */ color: rgb(96, 41, 134);
/* oklch */ color: oklch(40.5% 0.151 308.2);
Tailwind
colors: {
  custom: {
    50: '#9167aa',
    500: '#602986',
    950: '#000000',
  },
}
SCSS
$custom: #602986;
$custom-light: #9167aa;
$custom-dark: #000000;
JSON
{
  "hex": "#602986",
  "rgb": {
    "r": 96,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 275.484,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.15115,
    "h": 308.2
  },
  "luminance": 0.05794
}

Semantic roles & 50–950 ramp

primary
#602986
secondary
#7DB358
accent
#DD4B87
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602986

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

Preview Lab → · Contrast checker → · Palette generator →

#602986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva