#602397#602397

#602397 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.177 H 303.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#602397
RGBrgb(96, 35, 151)
HSLhsl(272, 62%, 36%)
HSVhsv(272, 77%, 59%)
CMYKcmyk(36.4%, 76.8%, 0%, 40.8%)
CIE-LABlab(29.22, 48.83, -51.94)
CIE-LCHlch(29.22, 71.29, 313.23°)
OKLaboklab(41.18% 0.0968 -0.1481)
OKLCHoklch(41.18% 0.177 303.2)
XYZxyz(11.0095, 5.9232, 29.8354)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602397 #5A9723
analogous
#262397 #602397 #972394
triadic
#602397 #976023 #239760
tetradic
#602397 #972623 #5A9723 #239497
square
#602397 #972623 #5A9723 #239497
split-complementary
#602397 #949723 #239726
monochromatic
#210C34 #401765 #602397 #802FC9 #9D5BD9

Accessibility & contrast

On white

9.61
#602397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#602397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602397
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602397#FFFFFF#000000##FFFFFF
##6023971.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.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: #602397;
/* rgb */ color: rgb(96, 35, 151);
/* oklch */ color: oklch(41.2% 0.177 303.2);
Tailwind
colors: {
  custom: {
    50: '#9365b6',
    500: '#602397',
    950: '#000000',
  },
}
SCSS
$custom: #602397;
$custom-light: #9365b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602397",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 271.552,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41183,
    "c": 0.17689,
    "h": 303.2
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#602397
secondary
#88BE58
accent
#E54290
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602397

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

Preview Lab → · Contrast checker → · Palette generator →

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