#602597#602597

#602597 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.175 H 302.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#602597
RGBrgb(96, 37, 151)
HSLhsl(271, 61%, 37%)
HSVhsv(271, 75%, 59%)
CMYKcmyk(36.4%, 75.5%, 0%, 40.8%)
CIE-LABlab(29.52, 47.95, -51.44)
CIE-LCHlch(29.52, 70.33, 312.99°)
OKLaboklab(41.4% 0.0949 -0.1466)
OKLCHoklch(41.4% 0.175 302.9)
XYZxyz(11.0700, 6.0443, 29.8556)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602597 #5C9725
analogous
#272597 #602597 #972595
triadic
#602597 #976025 #259760
tetradic
#602597 #972725 #5C9725 #259597
square
#602597 #972725 #5C9725 #259597
split-complementary
#602597 #959725 #259727
monochromatic
#210D35 #411966 #602597 #7F31C8 #9D5FD8

Accessibility & contrast

On white

9.51
#602597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#602597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602597
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602597#FFFFFF#000000##FFFFFF
##6025971.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #602597;
/* rgb */ color: rgb(96, 37, 151);
/* oklch */ color: oklch(41.4% 0.175 302.9);
Tailwind
colors: {
  custom: {
    50: '#9266b6',
    500: '#602597',
    950: '#000000',
  },
}
SCSS
$custom: #602597;
$custom-light: #9266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602597",
  "rgb": {
    "r": 96,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 271.053,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.17465,
    "h": 302.9
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#602597
secondary
#8ABD5B
accent
#E44491
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602597

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

Preview Lab → · Contrast checker → · Palette generator →

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