#62188A#62188A

#62188A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.176 H 309.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#62188A
RGBrgb(98, 24, 138)
HSLhsl(279, 70%, 32%)
HSVhsv(279, 83%, 54%)
CMYKcmyk(29%, 82.6%, 0%, 45.9%)
CIE-LABlab(26.98, 50.41, -47.55)
CIE-LCHlch(26.98, 69.29, 316.67°)
OKLaboklab(39.34% 0.1124 -0.135)
OKLCHoklch(39.34% 0.176 309.8)
XYZxyz(9.9502, 5.0851, 24.4972)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62188A #408A18
analogous
#29188A #62188A #8A1879
triadic
#62188A #8A6218 #188A62
tetradic
#62188A #8A2918 #408A18 #18798A
square
#62188A #8A2918 #408A18 #18798A
split-complementary
#62188A #798A18 #188A29
monochromatic
#180622 #3D0F56 #62188A #8721BE #A63FDE

Accessibility & contrast

On white

10.41
#62188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62188A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62188A#FFFFFF#000000##FFFFFF
##62188A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62188a;
/* rgb */ color: rgb(98, 24, 138);
/* oklch */ color: oklch(39.3% 0.176 309.8);
Tailwind
colors: {
  custom: {
    50: '#935fad',
    500: '#62188a',
    950: '#000000',
  },
}
SCSS
$custom: #62188a;
$custom-light: #935fad;
$custom-dark: #000000;
JSON
{
  "hex": "#62188a",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 278.947,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39341,
    "c": 0.17566,
    "h": 309.8
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#62188A
secondary
#6CBD40
accent
#ED3B79
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62188A

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

Preview Lab → · Contrast checker → · Palette generator →

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