#602157#602157

#602157 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.4% C 0.115 H 333.7°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#602157
RGBrgb(96, 33, 87)
HSLhsl(309, 49%, 25%)
HSVhsv(309, 66%, 38%)
CMYKcmyk(0%, 65.6%, 9.4%, 62.4%)
CIE-LABlab(24.52, 35.79, -18.73)
CIE-LCHlch(24.52, 40.39, 332.38°)
OKLaboklab(36.43% 0.1033 -0.0511)
OKLCHoklch(36.43% 0.115 333.7)
XYZxyz(7.0881, 4.2632, 9.4645)
Luminance0.0426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602157 #21602A
analogous
#492160 #602157 #602138
triadic
#602157 #576021 #215760
tetradic
#602157 #604921 #21602A #213860
square
#602157 #604921 #21602A #213860
split-complementary
#602157 #386021 #216049
monochromatic
#170815 #32112E #602157 #8E3180 #BB40AA

Accessibility & contrast

On white

11.34
#602157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602157
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602157#FFFFFF#000000##FFFFFF
##6021571.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203459
Deuteranopia (green-blind)
#343E55
Tritanopia (blue-blind)
#642638
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #602157;
/* rgb */ color: rgb(96, 33, 87);
/* oklch */ color: oklch(36.4% 0.115 333.7);
Tailwind
colors: {
  custom: {
    50: '#8f6186',
    500: '#602157',
    950: '#000000',
  },
}
SCSS
$custom: #602157;
$custom-light: #8f6186;
$custom-dark: #000000;
JSON
{
  "hex": "#602157",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 308.571,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36432,
    "c": 0.11527,
    "h": 333.7
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#602157
secondary
#499453
accent
#D8634F
background
#F9F5F8
surface
#F1EAEF
border
#CBC6CA
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #602157

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

Preview Lab → · Contrast checker → · Palette generator →

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