#62176B#62176B

#62176B is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.148 H 323.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#62176B
RGBrgb(98, 23, 107)
HSLhsl(294, 65%, 25%)
HSVhsv(294, 79%, 42%)
CMYKcmyk(8.4%, 78.5%, 0%, 58%)
CIE-LABlab(24.55, 44.31, -31.77)
CIE-LCHlch(24.55, 54.53, 324.36°)
OKLaboklab(36.9% 0.1186 -0.0887)
OKLCHoklch(36.9% 0.148 323.2)
XYZxyz(7.9970, 4.2715, 14.3103)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62176B #206B17
analogous
#38176B #62176B #6B174A
triadic
#62176B #6B6217 #176B62
tetradic
#62176B #6B3817 #206B17 #174A6B
square
#62176B #6B3817 #206B17 #174A6B
split-complementary
#62176B #4A6B17 #176B38
monochromatic
#170519 #340C39 #62176B #90229D #BE2DD0

Accessibility & contrast

On white

11.33
#62176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#62176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62176B
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62176B#FFFFFF#000000##FFFFFF
##62176B1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#253D69
Tritanopia (blue-blind)
#642740
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62176b;
/* rgb */ color: rgb(98, 23, 107);
/* oklch */ color: oklch(36.9% 0.148 323.2);
Tailwind
colors: {
  custom: {
    50: '#925d96',
    500: '#62176b',
    950: '#000000',
  },
}
SCSS
$custom: #62176b;
$custom-light: #925d96;
$custom-dark: #000000;
JSON
{
  "hex": "#62176b",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 293.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36902,
    "c": 0.14809,
    "h": 323.2
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#62176B
secondary
#47A13D
accent
#E84052
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62176B

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

Preview Lab → · Contrast checker → · Palette generator →

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