#62186F#62186F

#62186F is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.151 H 321.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#62186F
RGBrgb(98, 24, 111)
HSLhsl(291, 64%, 26%)
HSVhsv(291, 78%, 44%)
CMYKcmyk(11.7%, 78.4%, 0%, 56.5%)
CIE-LABlab(24.95, 44.73, -33.72)
CIE-LCHlch(24.95, 56.02, 322.99°)
OKLaboklab(37.27% 0.1173 -0.0944)
OKLCHoklch(37.27% 0.151 321.2)
XYZxyz(8.2326, 4.3981, 15.4511)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62186F #256F18
analogous
#37186F #62186F #6F1851
triadic
#62186F #6F6218 #186F62
tetradic
#62186F #6F3718 #256F18 #18516F
square
#62186F #6F3718 #256F18 #18516F
split-complementary
#62186F #516F18 #186F37
monochromatic
#160519 #360D3D #62186F #8E23A1 #BA2FD2

Accessibility & contrast

On white

11.17
#62186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#62186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62186F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62186F#FFFFFF#000000##FFFFFF
##62186F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#233E6D
Tritanopia (blue-blind)
#632942
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #62186f;
/* rgb */ color: rgb(98, 24, 111);
/* oklch */ color: oklch(37.3% 0.151 321.2);
Tailwind
colors: {
  custom: {
    50: '#925e99',
    500: '#62186f',
    950: '#000000',
  },
}
SCSS
$custom: #62186f;
$custom-light: #925e99;
$custom-dark: #000000;
JSON
{
  "hex": "#62186f",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 291.034,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3727,
    "c": 0.15056,
    "h": 321.2
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#62186F
secondary
#4EA53E
accent
#E74059
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #62186F

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

Preview Lab → · Contrast checker → · Palette generator →

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