#602181#602181

#602181 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.156 H 311.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#602181
RGBrgb(96, 33, 129)
HSLhsl(279, 59%, 32%)
HSVhsv(279, 74%, 51%)
CMYKcmyk(25.6%, 74.4%, 0%, 49.4%)
CIE-LABlab(27.18, 44.50, -41.59)
CIE-LCHlch(27.18, 60.91, 316.94°)
OKLaboklab(39.2% 0.1031 -0.1176)
OKLCHoklch(39.2% 0.156 311.2)
XYZxyz(9.3294, 5.1597, 21.2691)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602181 #428121
analogous
#302181 #602181 #812172
triadic
#602181 #816021 #218160
tetradic
#602181 #813021 #428121 #217281
square
#602181 #813021 #428121 #217281
split-complementary
#602181 #728121 #218130
monochromatic
#170820 #3C1550 #602181 #842DB2 #A34BD1

Accessibility & contrast

On white

10.34
#602181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#602181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602181
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602181#FFFFFF#000000##FFFFFF
##6021811.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#12417F
Tritanopia (blue-blind)
#5C364F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #602181;
/* rgb */ color: rgb(96, 33, 129);
/* oklch */ color: oklch(39.2% 0.156 311.2);
Tailwind
colors: {
  custom: {
    50: '#9163a6',
    500: '#602181',
    950: '#000000',
  },
}
SCSS
$custom: #602181;
$custom-light: #9163a6;
$custom-dark: #000000;
JSON
{
  "hex": "#602181",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 279.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.1564,
    "h": 311.2
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#602181
secondary
#6EB44A
accent
#E2457B
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #602181

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

Preview Lab → · Contrast checker → · Palette generator →

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