#602174#602174

#602174 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.143 H 316.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#602174
RGBrgb(96, 33, 116)
HSLhsl(286, 56%, 29%)
HSVhsv(286, 72%, 45%)
CMYKcmyk(17.2%, 71.6%, 0%, 54.5%)
CIE-LABlab(26.26, 41.60, -34.84)
CIE-LCHlch(26.26, 54.26, 320.06°)
OKLaboklab(38.25% 0.1045 -0.0978)
OKLCHoklch(38.25% 0.143 316.9)
XYZxyz(8.5196, 4.8358, 17.0042)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602174 #357421
analogous
#372174 #602174 #74215F
triadic
#602174 #746021 #217460
tetradic
#602174 #743721 #357421 #215F74
square
#602174 #743721 #357421 #215F74
split-complementary
#602174 #5F7421 #217437
monochromatic
#140718 #391344 #602174 #872FA4 #AA45CA

Accessibility & contrast

On white

10.68
#602174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602174
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602174#FFFFFF#000000##FFFFFF
##6021741.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#5F3148
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #602174;
/* rgb */ color: rgb(96, 33, 116);
/* oklch */ color: oklch(38.3% 0.143 316.9);
Tailwind
colors: {
  custom: {
    50: '#90629c',
    500: '#602174',
    950: '#000000',
  },
}
SCSS
$custom: #602174;
$custom-light: #90629c;
$custom-dark: #000000;
JSON
{
  "hex": "#602174",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 285.542,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38251,
    "c": 0.14313,
    "h": 316.9
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#602174
secondary
#60A749
accent
#DF496D
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #602174

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

Preview Lab → · Contrast checker → · Palette generator →

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