#62117E#62117E

#62117E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.9% C 0.171 H 314.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#62117E
RGBrgb(98, 17, 126)
HSLhsl(285, 76%, 28%)
HSVhsv(285, 87%, 49%)
CMYKcmyk(22.2%, 86.5%, 0%, 50.6%)
CIE-LABlab(25.27, 50.02, -42.77)
CIE-LCHlch(25.27, 65.81, 319.46°)
OKLaboklab(37.85% 0.1206 -0.1209)
OKLCHoklch(37.85% 0.171 314.9)
XYZxyz(9.0027, 4.5043, 20.1298)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62117E #2D7E11
analogous
#2B117E #62117E #7E1163
triadic
#62117E #7E6211 #117E62
tetradic
#62117E #7E2B11 #2D7E11 #11637E
square
#62117E #7E2B11 #2D7E11 #11637E
split-complementary
#62117E #637E11 #117E2B
monochromatic
#15041B #380A48 #62117E #8C18B4 #B227E2

Accessibility & contrast

On white

11.05
#62117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#62117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62117E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62117E#FFFFFF#000000##FFFFFF
##62117E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#073E7C
Tritanopia (blue-blind)
#5F2D4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #62117e;
/* rgb */ color: rgb(98, 17, 126);
/* oklch */ color: oklch(37.9% 0.171 314.9);
Tailwind
colors: {
  custom: {
    50: '#935ca4',
    500: '#62117e',
    950: '#000000',
  },
}
SCSS
$custom: #62117e;
$custom-light: #935ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#62117e",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 284.587,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.17076,
    "h": 314.9
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#62117E
secondary
#57B437
accent
#F33566
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #62117E

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

Preview Lab → · Contrast checker → · Palette generator →

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