#602071#602071

#602071 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.9% C 0.141 H 318.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#602071
RGBrgb(96, 32, 113)
HSLhsl(287, 56%, 28%)
HSVhsv(287, 72%, 44%)
CMYKcmyk(15%, 71.7%, 0%, 55.7%)
CIE-LABlab(25.90, 41.41, -33.50)
CIE-LCHlch(25.90, 53.26, 321.03°)
OKLaboklab(37.93% 0.1059 -0.0939)
OKLCHoklch(37.93% 0.142 318.4)
XYZxyz(8.3206, 4.7124, 16.0909)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602071 #317120
analogous
#372071 #602071 #712059
triadic
#602071 #716020 #207160
tetradic
#602071 #713720 #317120 #205971
square
#602071 #713720 #317120 #205971
split-complementary
#602071 #597120 #207137
monochromatic
#140718 #371241 #602071 #892EA1 #AD42C9

Accessibility & contrast

On white

10.81
#602071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#602071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602071
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602071#FFFFFF#000000##FFFFFF
##6020711.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#243F6F
Tritanopia (blue-blind)
#602F46
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #602071;
/* rgb */ color: rgb(96, 32, 113);
/* oklch */ color: oklch(37.9% 0.141 318.4);
Tailwind
colors: {
  custom: {
    50: '#90619a',
    500: '#602071',
    950: '#000000',
  },
}
SCSS
$custom: #602071;
$custom-light: #90619a;
$custom-dark: #000000;
JSON
{
  "hex": "#602071",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 287.407,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37927,
    "c": 0.1415,
    "h": 318.4
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#602071
secondary
#5CA548
accent
#DF4968
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #602071

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

Preview Lab → · Contrast checker → · Palette generator →

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