#602084#602084

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

Color values

HEX#602084
RGBrgb(96, 32, 132)
HSLhsl(278, 61%, 32%)
HSVhsv(278, 76%, 52%)
CMYKcmyk(27.3%, 75.8%, 0%, 48.2%)
CIE-LABlab(27.26, 45.62, -43.35)
CIE-LCHlch(27.26, 62.93, 316.46°)
OKLaboklab(39.33% 0.1036 -0.1228)
OKLCHoklch(39.33% 0.161 310.2)
XYZxyz(9.5044, 5.1860, 22.3256)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602084 #448420
analogous
#2E2084 #602084 #842076
triadic
#602084 #846020 #208460
tetradic
#602084 #842E20 #448420 #207684
square
#602084 #842E20 #448420 #207684
split-complementary
#602084 #768420 #20842E
monochromatic
#180821 #3C1453 #602084 #842CB5 #A24BD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##602084#FFFFFF#000000##FFFFFF
##6020841.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)
#003E87
Deuteranopia (green-blind)
#094182
Tritanopia (blue-blind)
#5B3750
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #602084;
/* rgb */ color: rgb(96, 32, 132);
/* oklch */ color: oklch(39.3% 0.161 310.2);
Tailwind
colors: {
  custom: {
    50: '#9162a8',
    500: '#602084',
    950: '#000000',
  },
}
SCSS
$custom: #602084;
$custom-light: #9162a8;
$custom-dark: #000000;
JSON
{
  "hex": "#602084",
  "rgb": {
    "r": 96,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 278.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.16068,
    "h": 310.2
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#602084
secondary
#71B64A
accent
#E4447D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #602084

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

Preview Lab → · Contrast checker → · Palette generator →

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