#602A88#602A88

#602A88 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.152 H 307.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#602A88
RGBrgb(96, 42, 136)
HSLhsl(274, 53%, 35%)
HSVhsv(274, 69%, 53%)
CMYKcmyk(29.4%, 69.1%, 0%, 46.7%)
CIE-LABlab(29.21, 41.91, -42.69)
CIE-LCHlch(29.21, 59.83, 314.47°)
OKLaboklab(40.81% 0.0921 -0.1209)
OKLCHoklch(40.81% 0.152 307.3)
XYZxyz(10.0948, 5.9204, 23.8987)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A88 #52882A
analogous
#312A88 #602A88 #882A81
triadic
#602A88 #88602A #2A8860
tetradic
#602A88 #88312A #52882A #2A8188
square
#602A88 #88312A #52882A #2A8188
split-complementary
#602A88 #81882A #2A8831
monochromatic
#1E0D2A #3F1C59 #602A88 #8138B7 #9E5FCE

Accessibility & contrast

On white

9.62
#602A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#602A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A88
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A88#FFFFFF#000000##FFFFFF
##602A881.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#144586
Tritanopia (blue-blind)
#5A3E55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602a88;
/* rgb */ color: rgb(96, 42, 136);
/* oklch */ color: oklch(40.8% 0.152 307.3);
Tailwind
colors: {
  custom: {
    50: '#9168ab',
    500: '#602a88',
    950: '#000000',
  },
}
SCSS
$custom: #602a88;
$custom-light: #9168ab;
$custom-dark: #000000;
JSON
{
  "hex": "#602a88",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 274.468,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40813,
    "c": 0.15199,
    "h": 307.3
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#602A88
secondary
#80B35B
accent
#DC4C89
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602A88

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

Preview Lab → · Contrast checker → · Palette generator →

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