#602162#602162

#602162 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.1% C 0.125 H 326.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#602162
RGBrgb(96, 33, 98)
HSLhsl(298, 50%, 26%)
HSVhsv(298, 66%, 38%)
CMYKcmyk(2%, 66.3%, 0%, 61.6%)
CIE-LABlab(25.13, 37.87, -25.02)
CIE-LCHlch(25.13, 45.39, 326.55°)
OKLaboklab(37.07% 0.1045 -0.0692)
OKLCHoklch(37.07% 0.125 326.5)
XYZxyz(7.5722, 4.4568, 12.0143)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602162 #236221
analogous
#3F2162 #602162 #622143
triadic
#602162 #626021 #216260
tetradic
#602162 #623F21 #236221 #214362
square
#602162 #623F21 #236221 #214362
split-complementary
#602162 #436221 #21623F
monochromatic
#160817 #331234 #602162 #8D3090 #BA40BE

Accessibility & contrast

On white

11.10
#602162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#602162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602162
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602162#FFFFFF#000000##FFFFFF
##6021621.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173664
Deuteranopia (green-blind)
#2F3E60
Tritanopia (blue-blind)
#632A3E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #602162;
/* rgb */ color: rgb(96, 33, 98);
/* oklch */ color: oklch(37.1% 0.125 326.5);
Tailwind
colors: {
  custom: {
    50: '#8f618f',
    500: '#602162',
    950: '#000000',
  },
}
SCSS
$custom: #602162;
$custom-light: #8f618f;
$custom-dark: #000000;
JSON
{
  "hex": "#602162",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 298.154,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37069,
    "c": 0.12537,
    "h": 326.5
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#602162
secondary
#4B9649
accent
#D94F53
background
#F9F5F8
surface
#F1EAF0
border
#CBC6CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #602162

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

Preview Lab → · Contrast checker → · Palette generator →

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