#62177B#62177B

#62177B is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.1% C 0.163 H 315.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#62177B
RGBrgb(98, 23, 123)
HSLhsl(285, 68%, 29%)
HSVhsv(285, 81%, 48%)
CMYKcmyk(20.3%, 81.3%, 0%, 51.8%)
CIE-LABlab(25.68, 47.53, -40.21)
CIE-LCHlch(25.68, 62.26, 319.77°)
OKLaboklab(38.07% 0.1165 -0.1134)
OKLCHoklch(38.07% 0.163 315.8)
XYZxyz(8.9180, 4.6399, 19.1609)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62177B #307B17
analogous
#30177B #62177B #7B1762
triadic
#62177B #7B6217 #177B62
tetradic
#62177B #7B3017 #307B17 #17627B
square
#62177B #7B3017 #307B17 #17627B
split-complementary
#62177B #627B17 #177B30
monochromatic
#15051A #390D47 #62177B #8B21AF #B033D9

Accessibility & contrast

On white

10.89
#62177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#62177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62177B
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62177B#FFFFFF#000000##FFFFFF
##62177B1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#143F79
Tritanopia (blue-blind)
#602E49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62177b;
/* rgb */ color: rgb(98, 23, 123);
/* oklch */ color: oklch(38.1% 0.163 315.8);
Tailwind
colors: {
  custom: {
    50: '#925ea2',
    500: '#62177b',
    950: '#000000',
  },
}
SCSS
$custom: #62177b;
$custom-light: #925ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#62177b",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 285,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38065,
    "c": 0.16262,
    "h": 315.8
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#62177B
secondary
#5AB03E
accent
#EB3C68
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62177B

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

Preview Lab → · Contrast checker → · Palette generator →

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