#62176A#62176A

#62176A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.147 H 323.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#62176A
RGBrgb(98, 23, 106)
HSLhsl(294, 64%, 25%)
HSVhsv(294, 78%, 42%)
CMYKcmyk(7.5%, 78.3%, 0%, 58.4%)
CIE-LABlab(24.48, 44.12, -31.23)
CIE-LCHlch(24.48, 54.05, 324.71°)
OKLaboklab(36.83% 0.1186 -0.0871)
OKLCHoklch(36.83% 0.147 323.7)
XYZxyz(7.9447, 4.2506, 14.0349)
Luminance0.0425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62176A #1F6A17
analogous
#38176A #62176A #6A1748
triadic
#62176A #6A6217 #176A62
tetradic
#62176A #6A3817 #1F6A17 #17486A
square
#62176A #6A3817 #1F6A17 #17486A
split-complementary
#62176A #486A17 #176A38
monochromatic
#170519 #340C38 #62176A #90229C #BF2DCF

Accessibility & contrast

On white

11.35
#62176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62176A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62176A#FFFFFF#000000##FFFFFF
##62176A1.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)
#00356C
Deuteranopia (green-blind)
#263D68
Tritanopia (blue-blind)
#64263F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #62176a;
/* rgb */ color: rgb(98, 23, 106);
/* oklch */ color: oklch(36.8% 0.147 323.7);
Tailwind
colors: {
  custom: {
    50: '#925d95',
    500: '#62176a',
    950: '#000000',
  },
}
SCSS
$custom: #62176a;
$custom-light: #925d95;
$custom-dark: #000000;
JSON
{
  "hex": "#62176a",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 294.217,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36833,
    "c": 0.1472,
    "h": 323.7
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#62176A
secondary
#46A03D
accent
#E74051
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #62176A

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

Preview Lab → · Contrast checker → · Palette generator →

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