#602A82#602A82

#602A82 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.145 H 309.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#602A82
RGBrgb(96, 42, 130)
HSLhsl(277, 51%, 34%)
HSVhsv(277, 68%, 51%)
CMYKcmyk(26.2%, 67.7%, 0%, 49%)
CIE-LABlab(28.78, 40.46, -39.64)
CIE-LCHlch(28.78, 56.64, 315.59°)
OKLaboklab(40.37% 0.0926 -0.112)
OKLCHoklch(40.37% 0.145 309.6)
XYZxyz(9.6803, 5.7546, 21.7156)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A82 #4C822A
analogous
#342A82 #602A82 #822A78
triadic
#602A82 #82602A #2A8260
tetradic
#602A82 #82342A #4C822A #2A7882
square
#602A82 #82342A #4C822A #2A7882
split-complementary
#602A82 #78822A #2A8234
monochromatic
#1C0C25 #3E1B54 #602A82 #8239B0 #A05CCA

Accessibility & contrast

On white

9.76
#602A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#602A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A82
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A82#FFFFFF#000000##FFFFFF
##602A821.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#5B3C52
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #602a82;
/* rgb */ color: rgb(96, 42, 130);
/* oklch */ color: oklch(40.4% 0.145 309.6);
Tailwind
colors: {
  custom: {
    50: '#9068a7',
    500: '#602a82',
    950: '#000000',
  },
}
SCSS
$custom: #602a82;
$custom-light: #9068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#602a82",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 276.818,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.14529,
    "h": 309.6
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#602A82
secondary
#7AB058
accent
#DB4D84
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #602A82

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

Preview Lab → · Contrast checker → · Palette generator →

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