#602A87#602A87

#602A87 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.151 H 307.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#602A87
RGBrgb(96, 42, 135)
HSLhsl(275, 53%, 35%)
HSVhsv(275, 69%, 53%)
CMYKcmyk(28.9%, 68.9%, 0%, 47.1%)
CIE-LABlab(29.14, 41.67, -42.19)
CIE-LCHlch(29.14, 59.30, 314.65°)
OKLaboklab(40.74% 0.0922 -0.1194)
OKLCHoklch(40.74% 0.151 307.6)
XYZxyz(10.0241, 5.8921, 23.5262)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A87 #51872A
analogous
#322A87 #602A87 #872A7F
triadic
#602A87 #87602A #2A8760
tetradic
#602A87 #87322A #51872A #2A7F87
square
#602A87 #87322A #51872A #2A7F87
split-complementary
#602A87 #7F872A #2A8732
monochromatic
#1E0D2A #3F1B58 #602A87 #8139B6 #9F5ECD

Accessibility & contrast

On white

9.64
#602A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#602A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A87
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A87#FFFFFF#000000##FFFFFF
##602A871.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#154585
Tritanopia (blue-blind)
#5A3E55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602a87;
/* rgb */ color: rgb(96, 42, 135);
/* oklch */ color: oklch(40.7% 0.151 307.6);
Tailwind
colors: {
  custom: {
    50: '#9168ab',
    500: '#602a87',
    950: '#000000',
  },
}
SCSS
$custom: #602a87;
$custom-light: #9168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602a87",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 274.839,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40738,
    "c": 0.15086,
    "h": 307.6
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#602A87
secondary
#7FB35A
accent
#DC4C88
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602A87

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

Preview Lab → · Contrast checker → · Palette generator →

#602A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva