#602179#602179

#602179 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.6% C 0.148 H 314.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#602179
RGBrgb(96, 33, 121)
HSLhsl(283, 57%, 30%)
HSVhsv(283, 73%, 47%)
CMYKcmyk(20.7%, 72.7%, 0%, 52.5%)
CIE-LABlab(26.61, 42.70, -37.47)
CIE-LCHlch(26.61, 56.81, 318.74°)
OKLaboklab(38.61% 0.1041 -0.1055)
OKLCHoklch(38.61% 0.148 314.6)
XYZxyz(8.8183, 4.9553, 18.5774)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602179 #3A7921
analogous
#342179 #602179 #792166
triadic
#602179 #796021 #217960
tetradic
#602179 #793421 #3A7921 #216679
square
#602179 #793421 #3A7921 #216679
split-complementary
#602179 #667921 #217934
monochromatic
#140719 #3A1449 #602179 #862EA9 #A747CD

Accessibility & contrast

On white

10.55
#602179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #602179
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602179#FFFFFF#000000##FFFFFF
##6021791.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #602179;
/* rgb */ color: rgb(96, 33, 121);
/* oklch */ color: oklch(38.6% 0.148 314.6);
Tailwind
colors: {
  custom: {
    50: '#9062a0',
    500: '#602179',
    950: '#000000',
  },
}
SCSS
$custom: #602179;
$custom-light: #9062a0;
$custom-dark: #000000;
JSON
{
  "hex": "#602179",
  "rgb": {
    "r": 96,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 282.955,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38609,
    "c": 0.14821,
    "h": 314.6
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#602179
secondary
#66AC4A
accent
#E04773
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050F
muted
#7E7A7E

Preview Lab

Preview with #602179

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

Preview Lab → · Contrast checker → · Palette generator →

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