#602996#602996

#602996 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.169 H 302.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#602996
RGBrgb(96, 41, 150)
HSLhsl(270, 57%, 37%)
HSVhsv(270, 73%, 59%)
CMYKcmyk(36%, 72.7%, 0%, 41.2%)
CIE-LABlab(30.10, 45.86, -49.90)
CIE-LCHlch(30.10, 67.78, 312.58°)
OKLaboklab(41.78% 0.0911 -0.1421)
OKLCHoklch(41.78% 0.169 302.7)
XYZxyz(11.1205, 6.2747, 29.4735)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602996 #5F9629
analogous
#292996 #602996 #962996
triadic
#602996 #966029 #299660
tetradic
#602996 #962929 #5F9629 #299696
square
#602996 #962929 #5F9629 #299696
split-complementary
#602996 #969629 #299629
monochromatic
#220F36 #411C66 #602996 #7F36C6 #9D65D5

Accessibility & contrast

On white

9.31
#602996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602996
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602996#FFFFFF#000000##FFFFFF
##6029961.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#55435D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602996;
/* rgb */ color: rgb(96, 41, 150);
/* oklch */ color: oklch(41.8% 0.169 302.7);
Tailwind
colors: {
  custom: {
    50: '#9268b6',
    500: '#602996',
    950: '#000000',
  },
}
SCSS
$custom: #602996;
$custom-light: #9268b6;
$custom-dark: #000000;
JSON
{
  "hex": "#602996",
  "rgb": {
    "r": 96,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 270.275,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41778,
    "c": 0.16881,
    "h": 302.7
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#602996
secondary
#8DBB60
accent
#E04793
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602996

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

Preview Lab → · Contrast checker → · Palette generator →

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