#602197#602197

#602197 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.179 H 303.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#602197
RGBrgb(96, 33, 151)
HSLhsl(272, 64%, 36%)
HSVhsv(272, 78%, 59%)
CMYKcmyk(36.4%, 78.1%, 0%, 40.8%)
CIE-LABlab(28.93, 49.67, -52.42)
CIE-LCHlch(28.93, 72.21, 313.46°)
OKLaboklab(40.98% 0.0986 -0.1495)
OKLCHoklch(40.98% 0.179 303.4)
XYZxyz(10.9523, 5.8089, 29.8164)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602197 #589721
analogous
#252197 #602197 #972193
triadic
#602197 #976021 #219760
tetradic
#602197 #972521 #589721 #219397
square
#602197 #972521 #589721 #219397
split-complementary
#602197 #939721 #219725
monochromatic
#200B33 #401665 #602197 #802CC9 #9E58DA

Accessibility & contrast

On white

9.71
#602197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#602197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602197
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602197#FFFFFF#000000##FFFFFF
##6021971.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.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: #602197;
/* rgb */ color: rgb(96, 33, 151);
/* oklch */ color: oklch(41.0% 0.179 303.4);
Tailwind
colors: {
  custom: {
    50: '#9364b6',
    500: '#602197',
    950: '#000000',
  },
}
SCSS
$custom: #602197;
$custom-light: #9364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602197",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 272.034,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40978,
    "c": 0.17905,
    "h": 303.4
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#602197
secondary
#86BE55
accent
#E7418E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602197

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

Preview Lab → · Contrast checker → · Palette generator →

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