#602A8B#602A8B

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

Color values

HEX#602A8B
RGBrgb(96, 42, 139)
HSLhsl(273, 54%, 35%)
HSVhsv(273, 70%, 55%)
CMYKcmyk(30.9%, 69.8%, 0%, 45.5%)
CIE-LABlab(29.43, 42.65, -44.20)
CIE-LCHlch(29.43, 61.42, 313.97°)
OKLaboklab(41.04% 0.0917 -0.1254)
OKLCHoklch(41.04% 0.155 306.2)
XYZxyz(10.3110, 6.0069, 25.0373)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A8B #558B2A
analogous
#2F2A8B #602A8B #8B2A85
triadic
#602A8B #8B602A #2A8B60
tetradic
#602A8B #8B2F2A #558B2A #2A858B
square
#602A8B #8B2F2A #558B2A #2A858B
split-complementary
#602A8B #858B2A #2A8B2F
monochromatic
#1F0E2D #401C5C #602A8B #8038BA #9E60CF

Accessibility & contrast

On white

9.54
#602A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602A8B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A8B#FFFFFF#000000##FFFFFF
##602A8B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#0D4689
Tritanopia (blue-blind)
#594057
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #602a8b;
/* rgb */ color: rgb(96, 42, 139);
/* oklch */ color: oklch(41.0% 0.155 306.2);
Tailwind
colors: {
  custom: {
    50: '#9168ad',
    500: '#602a8b',
    950: '#000000',
  },
}
SCSS
$custom: #602a8b;
$custom-light: #9168ad;
$custom-dark: #000000;
JSON
{
  "hex": "#602a8b",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 273.402,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41039,
    "c": 0.15533,
    "h": 306.2
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#602A8B
secondary
#83B55C
accent
#DD4B8C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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