#602182#602182

#602182 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.157 H 310.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#602182
RGBrgb(96, 33, 130)
HSLhsl(279, 60%, 32%)
HSVhsv(279, 75%, 51%)
CMYKcmyk(26.2%, 74.6%, 0%, 49%)
CIE-LABlab(27.26, 44.73, -42.10)
CIE-LCHlch(27.26, 61.42, 316.74°)
OKLaboklab(39.28% 0.1029 -0.1191)
OKLCHoklch(39.28% 0.157 310.8)
XYZxyz(9.3962, 5.1864, 21.6209)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602182 #438221
analogous
#302182 #602182 #822174
triadic
#602182 #826021 #218260
tetradic
#602182 #823021 #438221 #217482
square
#602182 #823021 #438221 #217482
split-complementary
#602182 #748221 #218230
monochromatic
#180820 #3C1551 #602182 #842DB3 #A34CD2

Accessibility & contrast

On white

10.31
#602182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#602182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602182
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602182#FFFFFF#000000##FFFFFF
##6021821.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#104180
Tritanopia (blue-blind)
#5B374F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #602182;
/* rgb */ color: rgb(96, 33, 130);
/* oklch */ color: oklch(39.3% 0.157 310.8);
Tailwind
colors: {
  custom: {
    50: '#9163a7',
    500: '#602182',
    950: '#000000',
  },
}
SCSS
$custom: #602182;
$custom-light: #9163a7;
$custom-dark: #000000;
JSON
{
  "hex": "#602182",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 278.969,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.15742,
    "h": 310.8
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#602182
secondary
#70B44A
accent
#E3457C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #602182

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

Preview Lab → · Contrast checker → · Palette generator →

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