#602A97#602A97

#602A97 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.169 H 302.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#602A97
RGBrgb(96, 42, 151)
HSLhsl(270, 56%, 38%)
HSVhsv(270, 72%, 59%)
CMYKcmyk(36.4%, 72.2%, 0%, 40.8%)
CIE-LABlab(30.34, 45.63, -50.11)
CIE-LCHlch(30.34, 67.77, 312.32°)
OKLaboklab(41.98% 0.0899 -0.1427)
OKLCHoklch(41.98% 0.169 302.2)
XYZxyz(11.2364, 6.3771, 29.9111)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A97 #61972A
analogous
#2A2A97 #602A97 #972A97
triadic
#602A97 #97602A #2A9760
tetradic
#602A97 #972A2A #61972A #2A9797
square
#602A97 #972A2A #61972A #2A9797
split-complementary
#602A97 #97972A #2A972A
monochromatic
#230F37 #421D67 #602A97 #7E37C7 #9D67D5

Accessibility & contrast

On white

9.23
#602A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#602A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A97
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A97#FFFFFF#000000##FFFFFF
##602A971.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#55445D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602a97;
/* rgb */ color: rgb(96, 42, 151);
/* oklch */ color: oklch(42.0% 0.169 302.2);
Tailwind
colors: {
  custom: {
    50: '#9268b6',
    500: '#602a97',
    950: '#000000',
  },
}
SCSS
$custom: #602a97;
$custom-light: #9268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602a97",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 269.725,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4198,
    "c": 0.16868,
    "h": 302.2
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#602A97
secondary
#8FBB62
accent
#E04895
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602A97

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

Preview Lab → · Contrast checker → · Palette generator →

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