#602178#602178

#602178 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.147 H 315.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#602178
RGBrgb(96, 33, 120)
HSLhsl(283, 57%, 30%)
HSVhsv(283, 73%, 47%)
CMYKcmyk(20%, 72.5%, 0%, 52.9%)
CIE-LABlab(26.54, 42.48, -36.94)
CIE-LCHlch(26.54, 56.30, 318.99°)
OKLaboklab(38.54% 0.1042 -0.104)
OKLCHoklch(38.54% 0.147 315)
XYZxyz(8.7573, 4.9309, 18.2561)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602178 #397821
analogous
#342178 #602178 #782165
triadic
#602178 #786021 #217860
tetradic
#602178 #783421 #397821 #216578
square
#602178 #783421 #397821 #216578
split-complementary
#602178 #657821 #217834
monochromatic
#130718 #3A1448 #602178 #862EA8 #A847CC

Accessibility & contrast

On white

10.57
#602178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#602178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602178
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602178#FFFFFF#000000##FFFFFF
##6021781.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#1E4076
Tritanopia (blue-blind)
#5E334A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #602178;
/* rgb */ color: rgb(96, 33, 120);
/* oklch */ color: oklch(38.5% 0.147 315.0);
Tailwind
colors: {
  custom: {
    50: '#90629f',
    500: '#602178',
    950: '#000000',
  },
}
SCSS
$custom: #602178;
$custom-light: #90629f;
$custom-dark: #000000;
JSON
{
  "hex": "#602178",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 283.448,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.1472,
    "h": 315
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#602178
secondary
#65AB4A
accent
#E04872
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #602178

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

Preview Lab → · Contrast checker → · Palette generator →

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