#62176F#62176F

#62176F is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.152 H 321.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#62176F
RGBrgb(98, 23, 111)
HSLhsl(291, 66%, 26%)
HSVhsv(291, 79%, 44%)
CMYKcmyk(11.7%, 79.3%, 0%, 56.5%)
CIE-LABlab(24.82, 45.10, -33.92)
CIE-LCHlch(24.82, 56.43, 323.05°)
OKLaboklab(37.18% 0.1182 -0.095)
OKLCHoklch(37.18% 0.152 321.2)
XYZxyz(8.2123, 4.3576, 15.4444)
Luminance0.0436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62176F #246F17
analogous
#36176F #62176F #6F1750
triadic
#62176F #6F6217 #176F62
tetradic
#62176F #6F3617 #246F17 #17506F
square
#62176F #6F3617 #246F17 #17506F
split-complementary
#62176F #506F17 #176F36
monochromatic
#160519 #350C3C #62176F #8F22A2 #BB2DD3

Accessibility & contrast

On white

11.22
#62176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62176F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62176F#FFFFFF#000000##FFFFFF
##62176F1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#223E6D
Tritanopia (blue-blind)
#632942
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #62176f;
/* rgb */ color: rgb(98, 23, 111);
/* oklch */ color: oklch(37.2% 0.152 321.2);
Tailwind
colors: {
  custom: {
    50: '#925d99',
    500: '#62176f',
    950: '#000000',
  },
}
SCSS
$custom: #62176f;
$custom-light: #925d99;
$custom-dark: #000000;
JSON
{
  "hex": "#62176f",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 291.136,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37181,
    "c": 0.15168,
    "h": 321.2
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#62176F
secondary
#4CA53D
accent
#E93F58
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #62176F

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

Preview Lab → · Contrast checker → · Palette generator →

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