#602272#602272

#602272 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.140 H 317.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#602272
RGBrgb(96, 34, 114)
HSLhsl(287, 54%, 29%)
HSVhsv(287, 70%, 45%)
CMYKcmyk(15.8%, 70.2%, 0%, 55.3%)
CIE-LABlab(26.29, 40.71, -33.51)
CIE-LCHlch(26.29, 52.73, 320.54°)
OKLaboklab(38.23% 0.1034 -0.094)
OKLCHoklch(38.23% 0.14 317.7)
XYZxyz(8.4327, 4.8461, 16.4075)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602272 #347222
analogous
#382272 #602272 #72225C
triadic
#602272 #726022 #227260
tetradic
#602272 #723822 #347222 #225C72
square
#602272 #723822 #347222 #225C72
split-complementary
#602272 #5C7222 #227238
monochromatic
#140718 #381443 #602272 #8830A1 #AB46C8

Accessibility & contrast

On white

10.66
#602272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#602272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602272
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602272#FFFFFF#000000##FFFFFF
##6022721.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A74
Deuteranopia (green-blind)
#254070
Tritanopia (blue-blind)
#5F3147
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #602272;
/* rgb */ color: rgb(96, 34, 114);
/* oklch */ color: oklch(38.2% 0.140 317.7);
Tailwind
colors: {
  custom: {
    50: '#90629b',
    500: '#602272',
    950: '#000000',
  },
}
SCSS
$custom: #602272;
$custom-light: #90629b;
$custom-dark: #000000;
JSON
{
  "hex": "#602272",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 286.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3823,
    "c": 0.13971,
    "h": 317.7
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#602272
secondary
#5FA54B
accent
#DD4A6B
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #602272

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

Preview Lab → · Contrast checker → · Palette generator →

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