#62188E#62188E

#62188E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.179 H 308.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#62188E
RGBrgb(98, 24, 142)
HSLhsl(278, 71%, 33%)
HSVhsv(278, 83%, 56%)
CMYKcmyk(31%, 83.1%, 0%, 44.3%)
CIE-LABlab(27.31, 51.29, -49.49)
CIE-LCHlch(27.31, 71.28, 316.02°)
OKLaboklab(39.67% 0.1113 -0.1407)
OKLCHoklch(39.67% 0.179 308.3)
XYZxyz(10.2451, 5.2031, 26.0505)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62188E #448E18
analogous
#27188E #62188E #8E187F
triadic
#62188E #8E6218 #188E62
tetradic
#62188E #8E2718 #448E18 #187F8E
square
#62188E #8E2718 #448E18 #187F8E
split-complementary
#62188E #7F8E18 #188E27
monochromatic
#1A0625 #3E0F5A #62188E #8621C2 #A441DF

Accessibility & contrast

On white

10.29
#62188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#62188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62188E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62188E#FFFFFF#000000##FFFFFF
##62188E1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#5B3754
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62188e;
/* rgb */ color: rgb(98, 24, 142);
/* oklch */ color: oklch(39.7% 0.179 308.3);
Tailwind
colors: {
  custom: {
    50: '#9460b0',
    500: '#62188e',
    950: '#000000',
  },
}
SCSS
$custom: #62188e;
$custom-light: #9460b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62188e",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 277.627,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39674,
    "c": 0.17944,
    "h": 308.3
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#62188E
secondary
#71C042
accent
#EE3A7D
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #62188E

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

Preview Lab → · Contrast checker → · Palette generator →

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