#602072#602072

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

Color values

HEX#602072
RGBrgb(96, 32, 114)
HSLhsl(287, 56%, 29%)
HSVhsv(287, 72%, 45%)
CMYKcmyk(15.8%, 71.9%, 0%, 55.3%)
CIE-LABlab(25.97, 41.62, -34.03)
CIE-LCHlch(25.97, 53.77, 320.73°)
OKLaboklab(38% 0.1058 -0.0955)
OKLCHoklch(38% 0.143 317.9)
XYZxyz(8.3772, 4.7351, 16.3890)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602072 #327220
analogous
#372072 #602072 #72205B
triadic
#602072 #726020 #207260
tetradic
#602072 #723720 #327220 #205B72
square
#602072 #723720 #327220 #205B72
split-complementary
#602072 #5B7220 #207237
monochromatic
#140718 #381342 #602072 #882DA2 #AC42CA

Accessibility & contrast

On white

10.79
#602072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602072
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602072#FFFFFF#000000##FFFFFF
##6020721.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#5F3046
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #602072;
/* rgb */ color: rgb(96, 32, 114);
/* oklch */ color: oklch(38.0% 0.142 317.9);
Tailwind
colors: {
  custom: {
    50: '#90619b',
    500: '#602072',
    950: '#000000',
  },
}
SCSS
$custom: #602072;
$custom-light: #90619b;
$custom-dark: #000000;
JSON
{
  "hex": "#602072",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 286.829,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.1425,
    "h": 317.9
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#602072
secondary
#5DA648
accent
#DF486A
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #602072

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

Preview Lab → · Contrast checker → · Palette generator →

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