#62117F#62117F

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

Color values

HEX#62117F
RGBrgb(98, 17, 127)
HSLhsl(284, 76%, 28%)
HSVhsv(284, 87%, 50%)
CMYKcmyk(22.8%, 86.6%, 0%, 50.2%)
CIE-LABlab(25.35, 50.22, -43.28)
CIE-LCHlch(25.35, 66.30, 319.25°)
OKLaboklab(37.93% 0.1203 -0.1224)
OKLCHoklch(37.93% 0.172 314.5)
XYZxyz(9.0676, 4.5302, 20.4713)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62117F #2E7F11
analogous
#2B117F #62117F #7F1165
triadic
#62117F #7F6211 #117F62
tetradic
#62117F #7F2B11 #2E7F11 #11657F
square
#62117F #7F2B11 #2E7F11 #11657F
split-complementary
#62117F #657F11 #117F2B
monochromatic
#15041B #380A49 #62117F #8C18B5 #B128E2

Accessibility & contrast

On white

11.02
#62117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#62117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62117F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62117F#FFFFFF#000000##FFFFFF
##62117F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#043E7D
Tritanopia (blue-blind)
#5F2E4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #62117f;
/* rgb */ color: rgb(98, 17, 127);
/* oklch */ color: oklch(37.9% 0.172 314.5);
Tailwind
colors: {
  custom: {
    50: '#935ca5',
    500: '#62117f',
    950: '#000000',
  },
}
SCSS
$custom: #62117f;
$custom-light: #935ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#62117f",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 284.182,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3793,
    "c": 0.17164,
    "h": 314.5
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#62117F
secondary
#58B537
accent
#F33567
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #62117F

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

Preview Lab → · Contrast checker → · Palette generator →

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