#602997#602997

#602997 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.170 H 302.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#602997
RGBrgb(96, 41, 151)
HSLhsl(270, 57%, 38%)
HSVhsv(270, 73%, 59%)
CMYKcmyk(36.4%, 72.8%, 0%, 40.8%)
CIE-LABlab(30.17, 46.11, -50.39)
CIE-LCHlch(30.17, 68.30, 312.47°)
OKLaboklab(41.86% 0.0909 -0.1435)
OKLCHoklch(41.86% 0.17 302.3)
XYZxyz(11.2014, 6.3070, 29.8994)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602997 #609729
analogous
#292997 #602997 #972997
triadic
#602997 #976029 #299760
tetradic
#602997 #972929 #609729 #299797
square
#602997 #972929 #609729 #299797
split-complementary
#602997 #979729 #299729
monochromatic
#230F37 #411C67 #602997 #7F36C7 #9D65D5

Accessibility & contrast

On white

9.29
#602997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#602997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602997
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602997#FFFFFF#000000##FFFFFF
##6029971.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #602997;
/* rgb */ color: rgb(96, 41, 151);
/* oklch */ color: oklch(41.9% 0.170 302.3);
Tailwind
colors: {
  custom: {
    50: '#9268b6',
    500: '#602997',
    950: '#000000',
  },
}
SCSS
$custom: #602997;
$custom-light: #9268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602997",
  "rgb": {
    "r": 96,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 270,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41859,
    "c": 0.16991,
    "h": 302.3
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#602997
secondary
#8EBB61
accent
#E14794
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602997

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

Preview Lab → · Contrast checker → · Palette generator →

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