#62177F#62177F

#62177F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.166 H 314.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#62177F
RGBrgb(98, 23, 127)
HSLhsl(283, 69%, 29%)
HSVhsv(283, 82%, 50%)
CMYKcmyk(22.8%, 81.9%, 0%, 50.2%)
CIE-LABlab(25.99, 48.37, -42.25)
CIE-LCHlch(25.99, 64.23, 318.87°)
OKLaboklab(38.38% 0.1157 -0.1194)
OKLCHoklch(38.38% 0.166 314.1)
XYZxyz(9.1735, 4.7421, 20.5066)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62177F #347F17
analogous
#2E177F #62177F #7F1768
triadic
#62177F #7F6217 #177F62
tetradic
#62177F #7F2E17 #347F17 #17687F
square
#62177F #7F2E17 #347F17 #17687F
split-complementary
#62177F #687F17 #177F2E
monochromatic
#14051A #3A0E4B #62177F #8A20B3 #AD36DB

Accessibility & contrast

On white

10.78
#62177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#62177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62177F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62177F#FFFFFF#000000##FFFFFF
##62177F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#0D3F7D
Tritanopia (blue-blind)
#5F304B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #62177f;
/* rgb */ color: rgb(98, 23, 127);
/* oklch */ color: oklch(38.4% 0.166 314.1);
Tailwind
colors: {
  custom: {
    50: '#935ea5',
    500: '#62177f',
    950: '#000000',
  },
}
SCSS
$custom: #62177f;
$custom-light: #935ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#62177f",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 283.269,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.16632,
    "h": 314.1
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#62177F
secondary
#5FB43E
accent
#EC3C6D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62177F

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

Preview Lab → · Contrast checker → · Palette generator →

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