#602B71#602B71

#602B71 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.3% C 0.125 H 317.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#602B71
RGBrgb(96, 43, 113)
HSLhsl(285, 45%, 31%)
HSVhsv(285, 62%, 44%)
CMYKcmyk(15%, 61.9%, 0%, 55.7%)
CIE-LABlab(27.86, 35.99, -30.36)
CIE-LCHlch(27.86, 47.09, 319.85°)
OKLaboklab(39.35% 0.0916 -0.0848)
OKLCHoklch(39.35% 0.125 317.2)
XYZxyz(8.6680, 5.4071, 16.2067)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602B71 #3C712B
analogous
#3D2B71 #602B71 #712B5F
triadic
#602B71 #71602B #2B7160
tetradic
#602B71 #713D2B #3C712B #2B5F71
square
#602B71 #713D2B #3C712B #2B5F71
split-complementary
#602B71 #5F712B #2B713D
monochromatic
#150918 #3A1A45 #602B71 #863C9D #A657BF

Accessibility & contrast

On white

10.09
#602B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#602B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602B71
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602B71#FFFFFF#000000##FFFFFF
##602B711.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#2D436F
Tritanopia (blue-blind)
#5F3749
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #602b71;
/* rgb */ color: rgb(96, 43, 113);
/* oklch */ color: oklch(39.3% 0.125 317.2);
Tailwind
colors: {
  custom: {
    50: '#8f689a',
    500: '#602b71',
    950: '#000000',
  },
}
SCSS
$custom: #602b71;
$custom-light: #8f689a;
$custom-dark: #000000;
JSON
{
  "hex": "#602b71",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 285.429,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39348,
    "c": 0.12485,
    "h": 317.2
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#602B71
secondary
#68A355
accent
#D55373
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #602B71

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

Preview Lab → · Contrast checker → · Palette generator →

#602B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva