#62176D#62176D

#62176D is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.150 H 322.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#62176D
RGBrgb(98, 23, 109)
HSLhsl(292, 65%, 26%)
HSVhsv(292, 79%, 43%)
CMYKcmyk(10.1%, 78.9%, 0%, 57.3%)
CIE-LABlab(24.68, 44.70, -32.85)
CIE-LCHlch(24.68, 55.48, 323.69°)
OKLaboklab(37.04% 0.1184 -0.0919)
OKLCHoklch(37.04% 0.15 322.2)
XYZxyz(8.1034, 4.3141, 14.8709)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62176D #226D17
analogous
#37176D #62176D #6D174D
triadic
#62176D #6D6217 #176D62
tetradic
#62176D #6D3717 #226D17 #174D6D
square
#62176D #6D3717 #226D17 #174D6D
split-complementary
#62176D #4D6D17 #176D37
monochromatic
#170519 #350C3A #62176D #8F22A0 #BD2CD2

Accessibility & contrast

On white

11.27
#62176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#62176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62176D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62176D#FFFFFF#000000##FFFFFF
##62176D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#243D6B
Tritanopia (blue-blind)
#632841
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #62176d;
/* rgb */ color: rgb(98, 23, 109);
/* oklch */ color: oklch(37.0% 0.150 322.2);
Tailwind
colors: {
  custom: {
    50: '#925d97',
    500: '#62176d',
    950: '#000000',
  },
}
SCSS
$custom: #62176d;
$custom-light: #925d97;
$custom-dark: #000000;
JSON
{
  "hex": "#62176d",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 292.326,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.14988,
    "h": 322.2
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#62176D
secondary
#4AA33D
accent
#E84055
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62176D

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

Preview Lab → · Contrast checker → · Palette generator →

#62176D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva