#602097#602097

#602097 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.180 H 303.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#602097
RGBrgb(96, 32, 151)
HSLhsl(272, 65%, 36%)
HSVhsv(272, 79%, 59%)
CMYKcmyk(36.4%, 78.8%, 0%, 40.8%)
CIE-LABlab(28.78, 50.07, -52.65)
CIE-LCHlch(28.78, 72.66, 313.56°)
OKLaboklab(40.88% 0.0994 -0.1501)
OKLCHoklch(40.88% 0.18 303.5)
XYZxyz(10.9250, 5.7542, 29.8073)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602097 #579720
analogous
#252097 #602097 #972092
triadic
#602097 #976020 #209760
tetradic
#602097 #972520 #579720 #209297
square
#602097 #972520 #579720 #209297
split-complementary
#602097 #929720 #209725
monochromatic
#200B32 #401564 #602097 #802BC9 #9E56DB

Accessibility & contrast

On white

9.76
#602097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#602097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602097
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602097#FFFFFF#000000##FFFFFF
##6020971.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #602097;
/* rgb */ color: rgb(96, 32, 151);
/* oklch */ color: oklch(40.9% 0.180 303.5);
Tailwind
colors: {
  custom: {
    50: '#9363b6',
    500: '#602097',
    950: '#000000',
  },
}
SCSS
$custom: #602097;
$custom-light: #9363b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602097",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 272.269,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40878,
    "c": 0.18008,
    "h": 303.5
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#602097
secondary
#85BF54
accent
#E8408E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602097

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

Preview Lab → · Contrast checker → · Palette generator →

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