#602497#602497

#602497 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.176 H 303.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#602497
RGBrgb(96, 36, 151)
HSLhsl(271, 61%, 37%)
HSVhsv(271, 76%, 59%)
CMYKcmyk(36.4%, 76.2%, 0%, 40.8%)
CIE-LABlab(29.37, 48.39, -51.70)
CIE-LCHlch(29.37, 70.81, 313.11°)
OKLaboklab(41.29% 0.0958 -0.1474)
OKLCHoklch(41.29% 0.176 303)
XYZxyz(11.0393, 5.9829, 29.8454)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602497 #5B9724
analogous
#262497 #602497 #972495
triadic
#602497 #976024 #249760
tetradic
#602497 #972624 #5B9724 #249597
square
#602497 #972624 #5B9724 #249597
split-complementary
#602497 #959724 #249726
monochromatic
#210C34 #411866 #602497 #7F30C8 #9D5DD8

Accessibility & contrast

On white

9.56
#602497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#602497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602497
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602497#FFFFFF#000000##FFFFFF
##6024971.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#55415C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602497;
/* rgb */ color: rgb(96, 36, 151);
/* oklch */ color: oklch(41.3% 0.176 303.0);
Tailwind
colors: {
  custom: {
    50: '#9265b6',
    500: '#602497',
    950: '#000000',
  },
}
SCSS
$custom: #602497;
$custom-light: #9265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602497",
  "rgb": {
    "r": 96,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 271.304,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.17578,
    "h": 303
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#602497
secondary
#89BD5A
accent
#E54390
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602497

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

Preview Lab → · Contrast checker → · Palette generator →

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