#62198A#62198A

#62198A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.175 H 309.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#62198A
RGBrgb(98, 25, 138)
HSLhsl(279, 69%, 32%)
HSVhsv(279, 82%, 54%)
CMYKcmyk(29%, 81.9%, 0%, 45.9%)
CIE-LABlab(27.09, 50.07, -47.35)
CIE-LCHlch(27.09, 68.91, 316.60°)
OKLaboklab(39.42% 0.1116 -0.1344)
OKLCHoklch(39.42% 0.175 309.7)
XYZxyz(9.9712, 5.1271, 24.5042)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62198A #418A19
analogous
#2A198A #62198A #8A197A
triadic
#62198A #8A6219 #198A62
tetradic
#62198A #8A2A19 #418A19 #197A8A
square
#62198A #8A2A19 #418A19 #197A8A
split-complementary
#62198A #7A8A19 #198A2A
monochromatic
#180622 #3D1056 #62198A #8722BE #A541DD

Accessibility & contrast

On white

10.37
#62198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#62198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62198A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62198A#FFFFFF#000000##FFFFFF
##62198A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.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: #62198a;
/* rgb */ color: rgb(98, 25, 138);
/* oklch */ color: oklch(39.4% 0.175 309.7);
Tailwind
colors: {
  custom: {
    50: '#9360ad',
    500: '#62198a',
    950: '#000000',
  },
}
SCSS
$custom: #62198a;
$custom-light: #9360ad;
$custom-dark: #000000;
JSON
{
  "hex": "#62198a",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 278.761,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39423,
    "c": 0.17471,
    "h": 309.7
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#62198A
secondary
#6DBD42
accent
#EC3C7A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62198A

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

Preview Lab → · Contrast checker → · Palette generator →

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