#62177D#62177D

#62177D is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.164 H 314.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#62177D
RGBrgb(98, 23, 125)
HSLhsl(284, 69%, 29%)
HSVhsv(284, 82%, 49%)
CMYKcmyk(21.6%, 81.6%, 0%, 51%)
CIE-LABlab(25.83, 47.95, -41.23)
CIE-LCHlch(25.83, 63.24, 319.31°)
OKLaboklab(38.22% 0.1161 -0.1164)
OKLCHoklch(38.22% 0.164 314.9)
XYZxyz(9.0445, 4.6905, 19.8270)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62177D #327D17
analogous
#2F177D #62177D #7D1765
triadic
#62177D #7D6217 #177D62
tetradic
#62177D #7D2F17 #327D17 #17657D
square
#62177D #7D2F17 #327D17 #17657D
split-complementary
#62177D #657D17 #177D2F
monochromatic
#14051A #390D49 #62177D #8B21B1 #AE35DA

Accessibility & contrast

On white

10.84
#62177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#62177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62177D
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62177D#FFFFFF#000000##FFFFFF
##62177D1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#113F7B
Tritanopia (blue-blind)
#602F4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62177d;
/* rgb */ color: rgb(98, 23, 125);
/* oklch */ color: oklch(38.2% 0.164 314.9);
Tailwind
colors: {
  custom: {
    50: '#935ea3',
    500: '#62177d',
    950: '#000000',
  },
}
SCSS
$custom: #62177d;
$custom-light: #935ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#62177d",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 284.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38219,
    "c": 0.16447,
    "h": 314.9
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#62177D
secondary
#5DB23E
accent
#EC3C6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62177D

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

Preview Lab → · Contrast checker → · Palette generator →

#62177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva