#602A79#602A79

#602A79 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.7% C 0.135 H 313.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#602A79
RGBrgb(96, 42, 121)
HSLhsl(281, 48%, 32%)
HSVhsv(281, 65%, 47%)
CMYKcmyk(20.7%, 65.3%, 0%, 52.5%)
CIE-LABlab(28.18, 38.34, -34.95)
CIE-LCHlch(28.18, 51.88, 317.65°)
OKLaboklab(39.74% 0.093 -0.0982)
OKLCHoklch(39.74% 0.135 313.4)
XYZxyz(9.1024, 5.5235, 18.6721)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602A79 #43792A
analogous
#392A79 #602A79 #792A6B
triadic
#602A79 #79602A #2A7960
tetradic
#602A79 #79392A #43792A #2A6B79
square
#602A79 #79392A #43792A #2A6B79
split-complementary
#602A79 #6B792A #2A7939
monochromatic
#180A1E #3C1A4C #602A79 #843AA6 #A358C5

Accessibility & contrast

On white

9.98
#602A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#602A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602A79
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602A79#FFFFFF#000000##FFFFFF
##602A791.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407B
Deuteranopia (green-blind)
#264477
Tritanopia (blue-blind)
#5E394D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #602a79;
/* rgb */ color: rgb(96, 42, 121);
/* oklch */ color: oklch(39.7% 0.135 313.4);
Tailwind
colors: {
  custom: {
    50: '#9067a0',
    500: '#602a79',
    950: '#000000',
  },
}
SCSS
$custom: #602a79;
$custom-light: #9067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#602a79",
  "rgb": {
    "r": 96,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 281.013,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39737,
    "c": 0.13529,
    "h": 313.4
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#602A79
secondary
#70AB54
accent
#D8507B
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #602A79

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

Preview Lab → · Contrast checker → · Palette generator →

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