#602587#602587

#602587 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.158 H 308.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#602587
RGBrgb(96, 37, 135)
HSLhsl(276, 57%, 34%)
HSVhsv(276, 73%, 53%)
CMYKcmyk(28.9%, 72.6%, 0%, 47.1%)
CIE-LABlab(28.27, 44.09, -43.59)
CIE-LCHlch(28.27, 62.00, 315.33°)
OKLaboklab(40.12% 0.0979 -0.1235)
OKLCHoklch(40.12% 0.158 308.4)
XYZxyz(9.8577, 5.5594, 23.4707)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602587 #4C8725
analogous
#2F2587 #602587 #87257D
triadic
#602587 #876025 #258760
tetradic
#602587 #872F25 #4C8725 #257D87
square
#602587 #872F25 #4C8725 #257D87
split-complementary
#602587 #7D8725 #25872F
monochromatic
#1C0B27 #3E1857 #602587 #8232B7 #A056D1

Accessibility & contrast

On white

9.94
#602587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#602587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602587
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602587#FFFFFF#000000##FFFFFF
##6025871.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#0C4385
Tritanopia (blue-blind)
#5A3B53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602587;
/* rgb */ color: rgb(96, 37, 135);
/* oklch */ color: oklch(40.1% 0.158 308.4);
Tailwind
colors: {
  custom: {
    50: '#9165ab',
    500: '#602587',
    950: '#000000',
  },
}
SCSS
$custom: #602587;
$custom-light: #9165ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602587",
  "rgb": {
    "r": 96,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 276.122,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.15759,
    "h": 308.4
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#602587
secondary
#7AB553
accent
#E04884
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602587

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

Preview Lab → · Contrast checker → · Palette generator →

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