#602170#602170

#602170 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.139 H 318.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#602170
RGBrgb(96, 33, 112)
HSLhsl(288, 54%, 28%)
HSVhsv(288, 71%, 44%)
CMYKcmyk(14.3%, 70.5%, 0%, 56.1%)
CIE-LABlab(25.99, 40.75, -32.70)
CIE-LCHlch(25.99, 52.25, 321.25°)
OKLaboklab(37.97% 0.1047 -0.0916)
OKLCHoklch(37.97% 0.139 318.8)
XYZxyz(8.2920, 4.7447, 15.8051)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602170 #317021
analogous
#382170 #602170 #702158
triadic
#602170 #706021 #217060
tetradic
#602170 #703821 #317021 #215870
square
#602170 #703821 #317021 #215870
split-complementary
#602170 #587021 #217038
monochromatic
#140718 #371341 #602170 #892F9F #AD44C8

Accessibility & contrast

On white

10.78
#602170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#602170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602170
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602170#FFFFFF#000000##FFFFFF
##6021701.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023972
Deuteranopia (green-blind)
#26406E
Tritanopia (blue-blind)
#602F45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #602170;
/* rgb */ color: rgb(96, 33, 112);
/* oklch */ color: oklch(38.0% 0.139 318.8);
Tailwind
colors: {
  custom: {
    50: '#906299',
    500: '#602170',
    950: '#000000',
  },
}
SCSS
$custom: #602170;
$custom-light: #906299;
$custom-dark: #000000;
JSON
{
  "hex": "#602170",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 287.848,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.13911,
    "h": 318.8
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#602170
secondary
#5CA449
accent
#DE4A68
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #602170

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

Preview Lab → · Contrast checker → · Palette generator →

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