#602156#602156

#602156 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 36.4% C 0.114 H 334.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#602156
RGBrgb(96, 33, 86)
HSLhsl(310, 49%, 25%)
HSVhsv(310, 66%, 38%)
CMYKcmyk(0%, 65.6%, 10.4%, 62.4%)
CIE-LABlab(24.47, 35.61, -18.15)
CIE-LCHlch(24.47, 39.97, 333.00°)
OKLaboklab(36.38% 0.1032 -0.0494)
OKLCHoklch(36.38% 0.114 334.4)
XYZxyz(7.0475, 4.2469, 9.2509)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602156 #21602B
analogous
#4A2160 #602156 #602136
triadic
#602156 #566021 #215660
tetradic
#602156 #604A21 #21602B #213660
square
#602156 #604A21 #21602B #213660
split-complementary
#602156 #366021 #21604A
monochromatic
#170814 #32112D #602156 #8E317F #BB40A8

Accessibility & contrast

On white

11.36
#602156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#602156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602156
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602156#FFFFFF#000000##FFFFFF
##6021561.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203458
Deuteranopia (green-blind)
#343D54
Tritanopia (blue-blind)
#652538
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #602156;
/* rgb */ color: rgb(96, 33, 86);
/* oklch */ color: oklch(36.4% 0.114 334.4);
Tailwind
colors: {
  custom: {
    50: '#8f6186',
    500: '#602156',
    950: '#000000',
  },
}
SCSS
$custom: #602156;
$custom-light: #8f6186;
$custom-dark: #000000;
JSON
{
  "hex": "#602156",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 309.524,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36377,
    "c": 0.11441,
    "h": 334.4
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#602156
secondary
#499455
accent
#D8654F
background
#F9F5F8
surface
#F1EAEF
border
#CBC6CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #602156

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

Preview Lab → · Contrast checker → · Palette generator →

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