#62199D#62199D

#62199D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.193 H 303.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#62199D
RGBrgb(98, 25, 157)
HSLhsl(273, 73%, 36%)
HSVhsv(273, 84%, 62%)
CMYKcmyk(37.6%, 84.1%, 0%, 38.4%)
CIE-LABlab(28.71, 54.36, -56.43)
CIE-LCHlch(28.71, 78.35, 313.93°)
OKLaboklab(41.05% 0.1061 -0.1611)
OKLCHoklch(41.05% 0.193 303.4)
XYZxyz(11.4690, 5.7263, 32.3928)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62199D #549D19
analogous
#20199D #62199D #9D1996
triadic
#62199D #9D6219 #199D62
tetradic
#62199D #9D2019 #549D19 #19969D
square
#62199D #9D2019 #549D19 #19969D
split-complementary
#62199D #969D19 #199D20
monochromatic
#200833 #411168 #62199D #8321D2 #A04EE3

Accessibility & contrast

On white

9.79
#62199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#62199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62199D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62199D#FFFFFF#000000##FFFFFF
##62199D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#563F5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #62199d;
/* rgb */ color: rgb(98, 25, 157);
/* oklch */ color: oklch(41.0% 0.193 303.4);
Tailwind
colors: {
  custom: {
    50: '#9561bb',
    500: '#62199d',
    950: '#000000',
  },
}
SCSS
$custom: #62199d;
$custom-light: #9561bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62199d",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 273.182,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.19288,
    "h": 303.4
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#62199D
secondary
#83C54D
accent
#EF398A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #62199D

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

Preview Lab → · Contrast checker → · Palette generator →

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