#62188B#62188B

#62188B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.177 H 309.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#62188B
RGBrgb(98, 24, 139)
HSLhsl(279, 71%, 32%)
HSVhsv(279, 83%, 55%)
CMYKcmyk(29.5%, 82.7%, 0%, 45.5%)
CIE-LABlab(27.06, 50.63, -48.03)
CIE-LCHlch(27.06, 69.79, 316.51°)
OKLaboklab(39.42% 0.1121 -0.1364)
OKLCHoklch(39.42% 0.177 309.4)
XYZxyz(10.0229, 5.1142, 24.8802)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62188B #418B18
analogous
#29188B #62188B #8B187B
triadic
#62188B #8B6218 #188B62
tetradic
#62188B #8B2918 #418B18 #187B8B
square
#62188B #8B2918 #418B18 #187B8B
split-complementary
#62188B #7B8B18 #188B29
monochromatic
#180623 #3D0F57 #62188B #8721BF #A53FDE

Accessibility & contrast

On white

10.38
#62188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#62188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62188B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62188B#FFFFFF#000000##FFFFFF
##62188B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#5C3652
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62188b;
/* rgb */ color: rgb(98, 24, 139);
/* oklch */ color: oklch(39.4% 0.177 309.4);
Tailwind
colors: {
  custom: {
    50: '#935fae',
    500: '#62188b',
    950: '#000000',
  },
}
SCSS
$custom: #62188b;
$custom-light: #935fae;
$custom-dark: #000000;
JSON
{
  "hex": "#62188b",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 278.609,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39423,
    "c": 0.17659,
    "h": 309.4
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#62188B
secondary
#6DBE40
accent
#ED3A7A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62188B

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

Preview Lab → · Contrast checker → · Palette generator →

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