#602296#602296

#602296 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.177 H 303.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#602296
RGBrgb(96, 34, 150)
HSLhsl(272, 63%, 36%)
HSVhsv(272, 77%, 59%)
CMYKcmyk(36%, 77.3%, 0%, 41.2%)
CIE-LABlab(28.99, 49.01, -51.70)
CIE-LCHlch(28.99, 71.24, 313.47°)
OKLaboklab(41% 0.0979 -0.1474)
OKLCHoklch(41% 0.177 303.6)
XYZxyz(10.8996, 5.8329, 29.3999)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602296 #589622
analogous
#262296 #602296 #962292
triadic
#602296 #966022 #229660
tetradic
#602296 #962622 #589622 #229296
square
#602296 #962622 #589622 #229296
split-complementary
#602296 #929622 #229626
monochromatic
#200B32 #401764 #602296 #802DC8 #9E59D9

Accessibility & contrast

On white

9.69
#602296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#602296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602296
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602296#FFFFFF#000000##FFFFFF
##6022961.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#55405B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602296;
/* rgb */ color: rgb(96, 34, 150);
/* oklch */ color: oklch(41.0% 0.177 303.6);
Tailwind
colors: {
  custom: {
    50: '#9264b6',
    500: '#602296',
    950: '#000000',
  },
}
SCSS
$custom: #602296;
$custom-light: #9264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602296",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 272.069,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40995,
    "c": 0.17694,
    "h": 303.6
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#602296
secondary
#86BE56
accent
#E6428E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #602296

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

Preview Lab → · Contrast checker → · Palette generator →

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