#602278#602278

#602278 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.7% C 0.146 H 314.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#602278
RGBrgb(96, 34, 120)
HSLhsl(283, 56%, 30%)
HSVhsv(283, 72%, 47%)
CMYKcmyk(20%, 71.7%, 0%, 52.9%)
CIE-LABlab(26.70, 42.03, -36.69)
CIE-LCHlch(26.70, 55.79, 318.88°)
OKLaboklab(38.65% 0.103 -0.1032)
OKLCHoklch(38.65% 0.146 314.9)
XYZxyz(8.7855, 4.9872, 18.2655)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#602278 #3A7822
analogous
#352278 #602278 #782265
triadic
#602278 #786022 #227860
tetradic
#602278 #783522 #3A7822 #226578
square
#602278 #783522 #3A7822 #226578
split-complementary
#602278 #657822 #227835
monochromatic
#140719 #3A1448 #602278 #8630A8 #A749CB

Accessibility & contrast

On white

10.51
#602278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#602278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #602278
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##602278#FFFFFF#000000##FFFFFF
##6022781.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #602278;
/* rgb */ color: rgb(96, 34, 120);
/* oklch */ color: oklch(38.7% 0.146 314.9);
Tailwind
colors: {
  custom: {
    50: '#90639f',
    500: '#602278',
    950: '#000000',
  },
}
SCSS
$custom: #602278;
$custom-light: #90639f;
$custom-dark: #000000;
JSON
{
  "hex": "#602278",
  "rgb": {
    "r": 96,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 283.256,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38652,
    "c": 0.14585,
    "h": 314.9
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#602278
secondary
#66AB4B
accent
#DF4973
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #602278

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

Preview Lab → · Contrast checker → · Palette generator →

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