#62166C#62166C

#62166C is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.150 H 322.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#62166C
RGBrgb(98, 22, 108)
HSLhsl(293, 66%, 25%)
HSVhsv(293, 80%, 42%)
CMYKcmyk(9.3%, 79.6%, 0%, 57.6%)
CIE-LABlab(24.49, 44.86, -32.51)
CIE-LCHlch(24.49, 55.40, 324.07°)
OKLaboklab(36.88% 0.1195 -0.0909)
OKLCHoklch(36.88% 0.15 322.7)
XYZxyz(8.0304, 4.2537, 14.5825)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62166C #206C16
analogous
#37166C #62166C #6C164B
triadic
#62166C #6C6216 #166C62
tetradic
#62166C #6C3716 #206C16 #164B6C
square
#62166C #6C3716 #206C16 #164B6C
split-complementary
#62166C #4B6C16 #166C37
monochromatic
#170519 #340C39 #62166C #90209F #BE2BD2

Accessibility & contrast

On white

11.35
#62166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#62166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62166C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62166C#FFFFFF#000000##FFFFFF
##62166C1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#243D6A
Tritanopia (blue-blind)
#632740
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62166c;
/* rgb */ color: rgb(98, 22, 108);
/* oklch */ color: oklch(36.9% 0.150 322.7);
Tailwind
colors: {
  custom: {
    50: '#925d96',
    500: '#62166c',
    950: '#000000',
  },
}
SCSS
$custom: #62166c;
$custom-light: #925d96;
$custom-dark: #000000;
JSON
{
  "hex": "#62166c",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 293.023,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.1501,
    "h": 322.7
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#62166C
secondary
#47A23C
accent
#E93F53
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62166C

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

Preview Lab → · Contrast checker → · Palette generator →

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