#62166A#62166A

#62166A is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.148 H 323.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#62166A
RGBrgb(98, 22, 106)
HSLhsl(294, 66%, 25%)
HSVhsv(294, 79%, 42%)
CMYKcmyk(7.5%, 79.2%, 0%, 58.4%)
CIE-LABlab(24.36, 44.48, -31.43)
CIE-LCHlch(24.36, 54.46, 324.75°)
OKLaboklab(36.74% 0.1196 -0.0877)
OKLCHoklch(36.74% 0.148 323.7)
XYZxyz(7.9252, 4.2116, 14.0284)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62166A #1E6A16
analogous
#38166A #62166A #6A1648
triadic
#62166A #6A6216 #166A62
tetradic
#62166A #6A3816 #1E6A16 #16486A
square
#62166A #6A3816 #1E6A16 #16486A
split-complementary
#62166A #486A16 #166A38
monochromatic
#170519 #330B37 #62166A #91219D #C02BCF

Accessibility & contrast

On white

11.40
#62166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#62166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62166A
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62166A#FFFFFF#000000##FFFFFF
##62166A1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#253D68
Tritanopia (blue-blind)
#64263F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62166a;
/* rgb */ color: rgb(98, 22, 106);
/* oklch */ color: oklch(36.7% 0.148 323.7);
Tailwind
colors: {
  custom: {
    50: '#925d95',
    500: '#62166a',
    950: '#000000',
  },
}
SCSS
$custom: #62166a;
$custom-light: #925d95;
$custom-dark: #000000;
JSON
{
  "hex": "#62166a",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 294.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36745,
    "c": 0.14832,
    "h": 323.7
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#62166A
secondary
#45A03B
accent
#E93F4F
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62166A

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

Preview Lab → · Contrast checker → · Palette generator →

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