#62176E#62176E

#62176E is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.151 H 321.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#62176E
RGBrgb(98, 23, 110)
HSLhsl(292, 65%, 26%)
HSVhsv(292, 79%, 43%)
CMYKcmyk(10.9%, 79.1%, 0%, 56.9%)
CIE-LABlab(24.75, 44.90, -33.39)
CIE-LCHlch(24.75, 55.95, 323.36°)
OKLaboklab(37.11% 0.1183 -0.0934)
OKLCHoklch(37.11% 0.151 321.7)
XYZxyz(8.1576, 4.3357, 15.1560)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62176E #236E17
analogous
#36176E #62176E #6E174E
triadic
#62176E #6E6217 #176E62
tetradic
#62176E #6E3617 #236E17 #174E6E
square
#62176E #6E3617 #236E17 #174E6E
split-complementary
#62176E #4E6E17 #176E36
monochromatic
#170519 #350C3B #62176E #8F22A1 #BC2CD3

Accessibility & contrast

On white

11.25
#62176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#62176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62176E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62176E#FFFFFF#000000##FFFFFF
##62176E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#233D6C
Tritanopia (blue-blind)
#632842
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #62176e;
/* rgb */ color: rgb(98, 23, 110);
/* oklch */ color: oklch(37.1% 0.151 321.7);
Tailwind
colors: {
  custom: {
    50: '#925d98',
    500: '#62176e',
    950: '#000000',
  },
}
SCSS
$custom: #62176e;
$custom-light: #925d98;
$custom-dark: #000000;
JSON
{
  "hex": "#62176e",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 291.724,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3711,
    "c": 0.15077,
    "h": 321.7
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#62176E
secondary
#4BA43D
accent
#E83F57
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #62176E

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

Preview Lab → · Contrast checker → · Palette generator →

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