#602A78#602A78

#602A78 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.7% C 0.134 H 313.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#602A78
RGBrgb(96, 42, 120)
HSLhsl(282, 48%, 32%)
HSVhsv(282, 65%, 47%)
CMYKcmyk(20%, 65%, 0%, 52.9%)
CIE-LABlab(28.11, 38.11, -34.42)
CIE-LCHlch(28.11, 51.35, 317.91°)
OKLaboklab(39.67% 0.0931 -0.0967)
OKLCHoklch(39.67% 0.134 313.9)
XYZxyz(9.0414, 5.4991, 18.3508)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A78 #42782A
analogous
#392A78 #602A78 #782A69
triadic
#602A78 #78602A #2A7860
tetradic
#602A78 #78392A #42782A #2A6978
square
#602A78 #78392A #42782A #2A6978
split-complementary
#602A78 #69782A #2A7839
monochromatic
#170A1D #3C1A4B #602A78 #843AA5 #A358C5

Accessibility & contrast

On white

10.00
#602A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#602A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A78
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A78#FFFFFF#000000##FFFFFF
##602A781.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F7A
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#5E384D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #602a78;
/* rgb */ color: rgb(96, 42, 120);
/* oklch */ color: oklch(39.7% 0.134 313.9);
Tailwind
colors: {
  custom: {
    50: '#90679f',
    500: '#602a78',
    950: '#000000',
  },
}
SCSS
$custom: #602a78;
$custom-light: #90679f;
$custom-dark: #000000;
JSON
{
  "hex": "#602a78",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 281.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.13418,
    "h": 313.9
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#602A78
secondary
#6EAA54
accent
#D8507A
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #602A78

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

Preview Lab → · Contrast checker → · Palette generator →

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