#602AA5#602AA5

#602AA5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.184 H 298.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#602AA5
RGBrgb(96, 42, 165)
HSLhsl(266, 59%, 41%)
HSVhsv(266, 75%, 65%)
CMYKcmyk(41.8%, 74.5%, 0%, 35.3%)
CIE-LABlab(31.48, 49.20, -56.76)
CIE-LCHlch(31.48, 75.11, 310.92°)
OKLaboklab(43.14% 0.087 -0.1623)
OKLCHoklch(43.14% 0.184 298.2)
XYZxyz(12.4416, 6.8591, 36.2585)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602AA5 #6FA52A
analogous
#2A32A5 #602AA5 #9D2AA5
triadic
#602AA5 #A5602A #2AA560
tetradic
#602AA5 #A52A32 #6FA52A #2AA59D
square
#602AA5 #A52A32 #6FA52A #2AA59D
split-complementary
#602AA5 #A59D2A #32A52A
monochromatic
#271143 #441E74 #602AA5 #7D3ECE #9E6FDA

Accessibility & contrast

On white

8.85
#602AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#602AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602AA5
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602AA5#FFFFFF#000000##FFFFFF
##602AA51.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#4F4A65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602aa5;
/* rgb */ color: rgb(96, 42, 165);
/* oklch */ color: oklch(43.1% 0.184 298.2);
Tailwind
colors: {
  custom: {
    50: '#9469c1',
    500: '#602aa5',
    950: '#000000',
  },
}
SCSS
$custom: #602aa5;
$custom-light: #9469c1;
$custom-dark: #000000;
JSON
{
  "hex": "#602aa5",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 266.341,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.18413,
    "h": 298.2
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#602AA5
secondary
#9BC169
accent
#E3459D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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