#62186E#62186E

#62186E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.150 H 321.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#62186E
RGBrgb(98, 24, 110)
HSLhsl(292, 64%, 26%)
HSVhsv(292, 78%, 43%)
CMYKcmyk(10.9%, 78.2%, 0%, 56.9%)
CIE-LABlab(24.88, 44.54, -33.19)
CIE-LCHlch(24.88, 55.54, 323.31°)
OKLaboklab(37.2% 0.1174 -0.0929)
OKLCHoklch(37.2% 0.15 321.6)
XYZxyz(8.1778, 4.3762, 15.1628)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62186E #246E18
analogous
#37186E #62186E #6E184F
triadic
#62186E #6E6218 #186E62
tetradic
#62186E #6E3718 #246E18 #184F6E
square
#62186E #6E3718 #246E18 #184F6E
split-complementary
#62186E #4F6E18 #186E37
monochromatic
#160519 #350D3C #62186E #8F23A0 #BB2FD2

Accessibility & contrast

On white

11.20
#62186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62186E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62186E#FFFFFF#000000##FFFFFF
##62186E1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62186e;
/* rgb */ color: rgb(98, 24, 110);
/* oklch */ color: oklch(37.2% 0.150 321.6);
Tailwind
colors: {
  custom: {
    50: '#925e98',
    500: '#62186e',
    950: '#000000',
  },
}
SCSS
$custom: #62186e;
$custom-light: #925e98;
$custom-dark: #000000;
JSON
{
  "hex": "#62186e",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 291.628,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.372,
    "c": 0.14965,
    "h": 321.6
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#62186E
secondary
#4CA43E
accent
#E74158
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #62186E

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

Preview Lab → · Contrast checker → · Palette generator →

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