#62166E#62166E

#62166E is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.152 H 321.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#62166E
RGBrgb(98, 22, 110)
HSLhsl(292, 67%, 26%)
HSVhsv(292, 80%, 43%)
CMYKcmyk(10.9%, 80%, 0%, 56.9%)
CIE-LABlab(24.63, 45.25, -33.59)
CIE-LCHlch(24.63, 56.35, 323.42°)
OKLaboklab(37.02% 0.1193 -0.094)
OKLCHoklch(37.02% 0.152 321.8)
XYZxyz(8.1381, 4.2967, 15.1495)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62166E #226E16
analogous
#36166E #62166E #6E164E
triadic
#62166E #6E6216 #166E62
tetradic
#62166E #6E3616 #226E16 #164E6E
square
#62166E #6E3616 #226E16 #164E6E
split-complementary
#62166E #4E6E16 #166E36
monochromatic
#17051A #350C3B #62166E #8F20A1 #BD2AD4

Accessibility & contrast

On white

11.30
#62166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#62166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62166E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62166E#FFFFFF#000000##FFFFFF
##62166E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#223D6C
Tritanopia (blue-blind)
#632841
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62166e;
/* rgb */ color: rgb(98, 22, 110);
/* oklch */ color: oklch(37.0% 0.152 321.8);
Tailwind
colors: {
  custom: {
    50: '#925d98',
    500: '#62166e',
    950: '#000000',
  },
}
SCSS
$custom: #62166e;
$custom-light: #925d98;
$custom-dark: #000000;
JSON
{
  "hex": "#62166e",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 291.818,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37024,
    "c": 0.15187,
    "h": 321.8
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#62166E
secondary
#4AA43C
accent
#EA3E56
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #62166E

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

Preview Lab → · Contrast checker → · Palette generator →

#62166E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva