#602AA4#602AA4

#602AA4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.183 H 298.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#602AA4
RGBrgb(96, 42, 164)
HSLhsl(267, 59%, 40%)
HSVhsv(267, 74%, 64%)
CMYKcmyk(41.5%, 74.4%, 0%, 35.7%)
CIE-LABlab(31.40, 48.94, -56.29)
CIE-LCHlch(31.40, 74.59, 311.01°)
OKLaboklab(43.06% 0.0872 -0.1609)
OKLCHoklch(43.06% 0.183 298.5)
XYZxyz(12.3510, 6.8229, 35.7810)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602AA4 #6EA42A
analogous
#2A31A4 #602AA4 #9D2AA4
triadic
#602AA4 #A4602A #2AA460
tetradic
#602AA4 #A42A31 #6EA42A #2AA49D
square
#602AA4 #A42A31 #6EA42A #2AA49D
split-complementary
#602AA4 #A49D2A #31A42A
monochromatic
#271143 #431E73 #602AA4 #7D3ECD #9E6EDA

Accessibility & contrast

On white

8.88
#602AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#602AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602AA4
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602AA4#FFFFFF#000000##FFFFFF
##602AA41.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#4F4965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #602aa4;
/* rgb */ color: rgb(96, 42, 164);
/* oklch */ color: oklch(43.1% 0.183 298.5);
Tailwind
colors: {
  custom: {
    50: '#9369c0',
    500: '#602aa4',
    950: '#000000',
  },
}
SCSS
$custom: #602aa4;
$custom-light: #9369c0;
$custom-dark: #000000;
JSON
{
  "hex": "#602aa4",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 266.557,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.18302,
    "h": 298.5
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#602AA4
secondary
#9AC169
accent
#E2459D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #602AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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