#62188D#62188D

#62188D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.178 H 308.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#62188D
RGBrgb(98, 24, 141)
HSLhsl(278, 71%, 32%)
HSVhsv(278, 83%, 55%)
CMYKcmyk(30.5%, 83%, 0%, 44.7%)
CIE-LABlab(27.22, 51.07, -49.01)
CIE-LCHlch(27.22, 70.78, 316.18°)
OKLaboklab(39.59% 0.1116 -0.1393)
OKLCHoklch(39.59% 0.178 308.7)
XYZxyz(10.1704, 5.1732, 25.6569)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62188D #438D18
analogous
#28188D #62188D #8D187D
triadic
#62188D #8D6218 #188D62
tetradic
#62188D #8D2818 #438D18 #187D8D
square
#62188D #8D2818 #438D18 #187D8D
split-complementary
#62188D #7D8D18 #188D28
monochromatic
#190624 #3E0F59 #62188D #8621C1 #A541DF

Accessibility & contrast

On white

10.32
#62188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#62188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62188D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62188D#FFFFFF#000000##FFFFFF
##62188D1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62188d;
/* rgb */ color: rgb(98, 24, 141);
/* oklch */ color: oklch(39.6% 0.178 308.7);
Tailwind
colors: {
  custom: {
    50: '#9460af',
    500: '#62188d',
    950: '#000000',
  },
}
SCSS
$custom: #62188d;
$custom-light: #9460af;
$custom-dark: #000000;
JSON
{
  "hex": "#62188d",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 277.949,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.17849,
    "h": 308.7
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#62188D
secondary
#70BF42
accent
#EE3A7C
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62188D

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

Preview Lab → · Contrast checker → · Palette generator →

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