#62176C#62176C

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

Color values

HEX#62176C
RGBrgb(98, 23, 108)
HSLhsl(293, 65%, 26%)
HSVhsv(293, 79%, 42%)
CMYKcmyk(9.3%, 78.7%, 0%, 57.6%)
CIE-LABlab(24.62, 44.51, -32.31)
CIE-LCHlch(24.62, 55.00, 324.02°)
OKLaboklab(36.97% 0.1185 -0.0903)
OKLCHoklch(36.97% 0.149 322.7)
XYZxyz(8.0499, 4.2926, 14.5890)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62176C #216C17
analogous
#37176C #62176C #6C174B
triadic
#62176C #6C6217 #176C62
tetradic
#62176C #6C3717 #216C17 #174B6C
square
#62176C #6C3717 #216C17 #174B6C
split-complementary
#62176C #4B6C17 #176C37
monochromatic
#170519 #340C3A #62176C #90229E #BE2CD1

Accessibility & contrast

On white

11.30
#62176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62176C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62176C#FFFFFF#000000##FFFFFF
##62176C1.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)
#00356E
Deuteranopia (green-blind)
#243D6A
Tritanopia (blue-blind)
#632741
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62176c;
/* rgb */ color: rgb(98, 23, 108);
/* oklch */ color: oklch(37.0% 0.149 322.7);
Tailwind
colors: {
  custom: {
    50: '#925d96',
    500: '#62176c',
    950: '#000000',
  },
}
SCSS
$custom: #62176c;
$custom-light: #925d96;
$custom-dark: #000000;
JSON
{
  "hex": "#62176c",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 292.941,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36971,
    "c": 0.14899,
    "h": 322.7
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#62176C
secondary
#49A23D
accent
#E84054
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62176C

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

Preview Lab → · Contrast checker → · Palette generator →

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