#602080#602080

#602080 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.157 H 311.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#602080
RGBrgb(96, 32, 128)
HSLhsl(280, 60%, 31%)
HSVhsv(280, 75%, 50%)
CMYKcmyk(25%, 75%, 0%, 49.8%)
CIE-LABlab(26.96, 44.71, -41.33)
CIE-LCHlch(26.96, 60.88, 317.25°)
OKLaboklab(39.02% 0.1043 -0.1169)
OKLCHoklch(39.02% 0.157 311.7)
XYZxyz(9.2359, 5.0786, 20.9116)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602080 #408020
analogous
#302080 #602080 #802070
triadic
#602080 #806020 #208060
tetradic
#602080 #803020 #408020 #207080
square
#602080 #803020 #408020 #207080
split-complementary
#602080 #708020 #208030
monochromatic
#17081E #3B144F #602080 #852CB1 #A449D1

Accessibility & contrast

On white

10.42
#602080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#602080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602080
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602080#FFFFFF#000000##FFFFFF
##6020801.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#12417E
Tritanopia (blue-blind)
#5C354E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #602080;
/* rgb */ color: rgb(96, 32, 128);
/* oklch */ color: oklch(39.0% 0.157 311.7);
Tailwind
colors: {
  custom: {
    50: '#9162a5',
    500: '#602080',
    950: '#000000',
  },
}
SCSS
$custom: #602080;
$custom-light: #9162a5;
$custom-dark: #000000;
JSON
{
  "hex": "#602080",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.15662,
    "h": 311.7
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#602080
secondary
#6CB349
accent
#E34579
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #602080

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

Preview Lab → · Contrast checker → · Palette generator →

#602080 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva