#602989#602989

#602989 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.154 H 307.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#602989
RGBrgb(96, 41, 137)
HSLhsl(274, 54%, 35%)
HSVhsv(274, 70%, 54%)
CMYKcmyk(29.9%, 70.1%, 0%, 46.3%)
CIE-LABlab(29.10, 42.65, -43.49)
CIE-LCHlch(29.10, 60.91, 314.45°)
OKLaboklab(40.76% 0.0931 -0.1233)
OKLCHoklch(40.76% 0.154 307.1)
XYZxyz(10.1312, 5.8789, 24.2631)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602989 #528929
analogous
#302989 #602989 #892982
triadic
#602989 #896029 #298960
tetradic
#602989 #893029 #528929 #298289
square
#602989 #893029 #528929 #298289
split-complementary
#602989 #828929 #298930
monochromatic
#1E0D2B #3F1B5A #602989 #8137B8 #9E5ECF

Accessibility & contrast

On white

9.65
#602989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#602989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602989
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602989#FFFFFF#000000##FFFFFF
##6029891.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#104587
Tritanopia (blue-blind)
#593E55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602989;
/* rgb */ color: rgb(96, 41, 137);
/* oklch */ color: oklch(40.8% 0.154 307.1);
Tailwind
colors: {
  custom: {
    50: '#9167ac',
    500: '#602989',
    950: '#000000',
  },
}
SCSS
$custom: #602989;
$custom-light: #9167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#602989",
  "rgb": {
    "r": 96,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 274.375,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.15447,
    "h": 307.1
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#602989
secondary
#80B45A
accent
#DD4A89
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602989

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

Preview Lab → · Contrast checker → · Palette generator →

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