#602297#602297

#602297 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.178 H 303.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#602297
RGBrgb(96, 34, 151)
HSLhsl(272, 63%, 36%)
HSVhsv(272, 77%, 59%)
CMYKcmyk(36.4%, 77.5%, 0%, 40.8%)
CIE-LABlab(29.07, 49.25, -52.18)
CIE-LCHlch(29.07, 71.75, 313.34°)
OKLaboklab(41.08% 0.0977 -0.1488)
OKLCHoklch(41.08% 0.178 303.3)
XYZxyz(10.9805, 5.8652, 29.8258)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602297 #599722
analogous
#262297 #602297 #972294
triadic
#602297 #976022 #229760
tetradic
#602297 #972622 #599722 #229497
square
#602297 #972622 #599722 #229497
split-complementary
#602297 #949722 #229726
monochromatic
#200C33 #401765 #602297 #802DC9 #9E5ADA

Accessibility & contrast

On white

9.66
#602297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#602297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602297
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602297#FFFFFF#000000##FFFFFF
##6022971.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#55405B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602297;
/* rgb */ color: rgb(96, 34, 151);
/* oklch */ color: oklch(41.1% 0.178 303.3);
Tailwind
colors: {
  custom: {
    50: '#9364b6',
    500: '#602297',
    950: '#000000',
  },
}
SCSS
$custom: #602297;
$custom-light: #9364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602297",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 271.795,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41079,
    "c": 0.17797,
    "h": 303.3
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#602297
secondary
#87BE57
accent
#E6428F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602297

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

Preview Lab → · Contrast checker → · Palette generator →

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