#62177E#62177E

#62177E is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.165 H 314.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#62177E
RGBrgb(98, 23, 126)
HSLhsl(284, 69%, 29%)
HSVhsv(284, 82%, 49%)
CMYKcmyk(22.2%, 81.7%, 0%, 50.6%)
CIE-LABlab(25.91, 48.16, -41.74)
CIE-LCHlch(25.91, 63.73, 319.08°)
OKLaboklab(38.3% 0.1159 -0.1179)
OKLCHoklch(38.3% 0.165 314.5)
XYZxyz(9.1087, 4.7161, 20.1651)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62177E #337E17
analogous
#2E177E #62177E #7E1767
triadic
#62177E #7E6217 #177E62
tetradic
#62177E #7E2E17 #337E17 #17677E
square
#62177E #7E2E17 #337E17 #17677E
split-complementary
#62177E #677E17 #177E2E
monochromatic
#14051A #3A0E4A #62177E #8A20B2 #AD35DA

Accessibility & contrast

On white

10.81
#62177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62177E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62177E#FFFFFF#000000##FFFFFF
##62177E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#0F3F7C
Tritanopia (blue-blind)
#5F304B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62177e;
/* rgb */ color: rgb(98, 23, 126);
/* oklch */ color: oklch(38.3% 0.165 314.5);
Tailwind
colors: {
  custom: {
    50: '#935ea4',
    500: '#62177e',
    950: '#000000',
  },
}
SCSS
$custom: #62177e;
$custom-light: #935ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#62177e",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 283.689,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.16539,
    "h": 314.5
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#62177E
secondary
#5EB33E
accent
#EC3C6C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62177E

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

Preview Lab → · Contrast checker → · Palette generator →

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