#602AA8#602AA8

#602AA8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.187 H 297.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#602AA8
RGBrgb(96, 42, 168)
HSLhsl(266, 60%, 41%)
HSVhsv(266, 75%, 66%)
CMYKcmyk(42.9%, 75%, 0%, 34.1%)
CIE-LABlab(31.74, 49.97, -58.15)
CIE-LCHlch(31.74, 76.67, 310.67°)
OKLaboklab(43.4% 0.0863 -0.1664)
OKLCHoklch(43.4% 0.187 297.4)
XYZxyz(12.7179, 6.9696, 37.7134)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602AA8 #72A82A
analogous
#2A33A8 #602AA8 #9F2AA8
triadic
#602AA8 #A8602A #2AA860
tetradic
#602AA8 #A82A33 #72A82A #2AA89F
square
#602AA8 #A82A33 #72A82A #2AA89F
split-complementary
#602AA8 #A89F2A #33A82A
monochromatic
#281246 #441E77 #602AA8 #7D40CF #9F71DB

Accessibility & contrast

On white

8.77
#602AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#602AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602AA8
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602AA8#FFFFFF#000000##FFFFFF
##602AA81.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#4D4B67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #602aa8;
/* rgb */ color: rgb(96, 42, 168);
/* oklch */ color: oklch(43.4% 0.187 297.4);
Tailwind
colors: {
  custom: {
    50: '#9469c3',
    500: '#602aa8',
    950: '#000000',
  },
}
SCSS
$custom: #602aa8;
$custom-light: #9469c3;
$custom-dark: #000000;
JSON
{
  "hex": "#602aa8",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 265.714,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43399,
    "c": 0.18741,
    "h": 297.4
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#602AA8
secondary
#9DC36B
accent
#E3459F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #602AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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