#602A95#602A95

#602A95 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.166 H 302.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#602A95
RGBrgb(96, 42, 149)
HSLhsl(270, 56%, 37%)
HSVhsv(270, 72%, 58%)
CMYKcmyk(35.6%, 71.8%, 0%, 41.6%)
CIE-LABlab(30.19, 45.13, -49.14)
CIE-LCHlch(30.19, 66.72, 312.57°)
OKLaboklab(41.82% 0.0902 -0.1399)
OKLCHoklch(41.82% 0.166 302.8)
XYZxyz(11.0754, 6.3126, 29.0629)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A95 #5F952A
analogous
#2A2A95 #602A95 #952A95
triadic
#602A95 #95602A #2A9560
tetradic
#602A95 #952A2A #5F952A #2A9595
square
#602A95 #952A2A #5F952A #2A9595
split-complementary
#602A95 #95952A #2A952A
monochromatic
#220F36 #411D65 #602A95 #7F37C5 #9D66D4

Accessibility & contrast

On white

9.28
#602A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#602A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A95
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A95#FFFFFF#000000##FFFFFF
##602A951.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#55435C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #602a95;
/* rgb */ color: rgb(96, 42, 149);
/* oklch */ color: oklch(41.8% 0.166 302.8);
Tailwind
colors: {
  custom: {
    50: '#9268b5',
    500: '#602a95',
    950: '#000000',
  },
}
SCSS
$custom: #602a95;
$custom-light: #9268b5;
$custom-dark: #000000;
JSON
{
  "hex": "#602a95",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 270.28,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41819,
    "c": 0.16646,
    "h": 302.8
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#602A95
secondary
#8DBA61
accent
#DF4893
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #602A95

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

Preview Lab → · Contrast checker → · Palette generator →

#602A95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva