#602A8A#602A8A

#602A8A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.154 H 306.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#602A8A
RGBrgb(96, 42, 138)
HSLhsl(274, 53%, 35%)
HSVhsv(274, 70%, 54%)
CMYKcmyk(30.4%, 69.6%, 0%, 45.9%)
CIE-LABlab(29.36, 42.40, -43.70)
CIE-LCHlch(29.36, 60.89, 314.14°)
OKLaboklab(40.96% 0.0918 -0.1239)
OKLCHoklch(40.96% 0.154 306.5)
XYZxyz(10.2383, 5.9778, 24.6543)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A8A #548A2A
analogous
#302A8A #602A8A #8A2A84
triadic
#602A8A #8A602A #2A8A60
tetradic
#602A8A #8A302A #548A2A #2A848A
square
#602A8A #8A302A #548A2A #2A848A
split-complementary
#602A8A #848A2A #2A8A30
monochromatic
#1F0D2C #3F1C5B #602A8A #8138B9 #9E60CF

Accessibility & contrast

On white

9.56
#602A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#602A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A8A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A8A#FFFFFF#000000##FFFFFF
##602A8A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#0F4688
Tritanopia (blue-blind)
#593F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602a8a;
/* rgb */ color: rgb(96, 42, 138);
/* oklch */ color: oklch(41.0% 0.154 306.5);
Tailwind
colors: {
  custom: {
    50: '#9168ad',
    500: '#602a8a',
    950: '#000000',
  },
}
SCSS
$custom: #602a8a;
$custom-light: #9168ad;
$custom-dark: #000000;
JSON
{
  "hex": "#602a8a",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 273.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.15421,
    "h": 306.5
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#602A8A
secondary
#82B45B
accent
#DD4B8B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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