#602172#602172

#602172 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.1% C 0.141 H 317.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#602172
RGBrgb(96, 33, 114)
HSLhsl(287, 55%, 29%)
HSVhsv(287, 71%, 45%)
CMYKcmyk(15.8%, 71.1%, 0%, 55.3%)
CIE-LABlab(26.13, 41.17, -33.77)
CIE-LCHlch(26.13, 53.25, 320.64°)
OKLaboklab(38.11% 0.1046 -0.0947)
OKLCHoklch(38.11% 0.141 317.8)
XYZxyz(8.4046, 4.7898, 16.3981)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602172 #337221
analogous
#382172 #602172 #72215C
triadic
#602172 #726021 #217260
tetradic
#602172 #723821 #337221 #215C72
square
#602172 #723821 #337221 #215C72
split-complementary
#602172 #5C7221 #217238
monochromatic
#140718 #381343 #602172 #882FA1 #AC44C9

Accessibility & contrast

On white

10.73
#602172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#602172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602172
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602172#FFFFFF#000000##FFFFFF
##6021721.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#244070
Tritanopia (blue-blind)
#5F3047
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #602172;
/* rgb */ color: rgb(96, 33, 114);
/* oklch */ color: oklch(38.1% 0.141 317.8);
Tailwind
colors: {
  custom: {
    50: '#90629b',
    500: '#602172',
    950: '#000000',
  },
}
SCSS
$custom: #602172;
$custom-light: #90629b;
$custom-dark: #000000;
JSON
{
  "hex": "#602172",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 286.667,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38112,
    "c": 0.14112,
    "h": 317.8
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#602172
secondary
#5EA549
accent
#DE496A
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #602172

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

Preview Lab → · Contrast checker → · Palette generator →

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