#602B78#602B78

#602B78 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 39.8% C 0.133 H 313.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#602B78
RGBrgb(96, 43, 120)
HSLhsl(281, 47%, 32%)
HSVhsv(281, 64%, 47%)
CMYKcmyk(20%, 64.2%, 0%, 52.9%)
CIE-LABlab(28.30, 37.59, -34.11)
CIE-LCHlch(28.30, 50.76, 317.77°)
OKLaboklab(39.81% 0.0917 -0.0958)
OKLCHoklch(39.81% 0.133 313.8)
XYZxyz(9.0773, 5.5709, 18.3628)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602B78 #43782B
analogous
#3A2B78 #602B78 #782B6A
triadic
#602B78 #78602B #2B7860
tetradic
#602B78 #783A2B #43782B #2B6A78
square
#602B78 #783A2B #43782B #2B6A78
split-complementary
#602B78 #6A782B #2B783A
monochromatic
#180B1E #3C1B4B #602B78 #843BA5 #A35AC4

Accessibility & contrast

On white

9.93
#602B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#602B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602B78
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602B78#FFFFFF#000000##FFFFFF
##602B781.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407A
Deuteranopia (green-blind)
#284476
Tritanopia (blue-blind)
#5E394D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #602b78;
/* rgb */ color: rgb(96, 43, 120);
/* oklch */ color: oklch(39.8% 0.133 313.8);
Tailwind
colors: {
  custom: {
    50: '#90689f',
    500: '#602b78',
    950: '#000000',
  },
}
SCSS
$custom: #602b78;
$custom-light: #90689f;
$custom-dark: #000000;
JSON
{
  "hex": "#602b78",
  "rgb": {
    "r": 96,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 281.299,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.13262,
    "h": 313.8
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#602B78
secondary
#70AA55
accent
#D7517B
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #602B78

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

Preview Lab → · Contrast checker → · Palette generator →

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