#602A8E#602A8E

#602A8E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.159 H 305.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#602A8E
RGBrgb(96, 42, 142)
HSLhsl(272, 54%, 36%)
HSVhsv(272, 70%, 56%)
CMYKcmyk(32.4%, 70.4%, 0%, 44.3%)
CIE-LABlab(29.65, 43.39, -45.70)
CIE-LCHlch(29.65, 63.01, 313.51°)
OKLaboklab(41.27% 0.0913 -0.1298)
OKLCHoklch(41.27% 0.159 305.1)
XYZxyz(10.5332, 6.0958, 26.2076)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A8E #588E2A
analogous
#2E2A8E #602A8E #8E2A8A
triadic
#602A8E #8E602A #2A8E60
tetradic
#602A8E #8E2E2A #588E2A #2A8A8E
square
#602A8E #8E2E2A #588E2A #2A8A8E
split-complementary
#602A8E #8A8E2A #2A8E2E
monochromatic
#200E30 #401C5F #602A8E #8038BD #9E62D1

Accessibility & contrast

On white

9.46
#602A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#602A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A8E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A8E#FFFFFF#000000##FFFFFF
##602A8E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#04468C
Tritanopia (blue-blind)
#584159
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #602a8e;
/* rgb */ color: rgb(96, 42, 142);
/* oklch */ color: oklch(41.3% 0.159 305.1);
Tailwind
colors: {
  custom: {
    50: '#9168b0',
    500: '#602a8e',
    950: '#000000',
  },
}
SCSS
$custom: #602a8e;
$custom-light: #9168b0;
$custom-dark: #000000;
JSON
{
  "hex": "#602a8e",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 272.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41269,
    "c": 0.15868,
    "h": 305.1
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#602A8E
secondary
#86B65D
accent
#DE4A8E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #602A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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