#62198F#62198F

#62198F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.179 H 307.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#62198F
RGBrgb(98, 25, 143)
HSLhsl(277, 70%, 33%)
HSVhsv(277, 83%, 56%)
CMYKcmyk(31.5%, 82.5%, 0%, 43.9%)
CIE-LABlab(27.51, 51.18, -49.79)
CIE-LCHlch(27.51, 71.40, 315.79°)
OKLaboklab(39.84% 0.1103 -0.1416)
OKLCHoklch(39.84% 0.179 307.9)
XYZxyz(10.3415, 5.2753, 26.4547)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62198F #468F19
analogous
#27198F #62198F #8F1981
triadic
#62198F #8F6219 #198F62
tetradic
#62198F #8F2719 #468F19 #19818F
square
#62198F #8F2719 #468F19 #19818F
split-complementary
#62198F #818F19 #198F27
monochromatic
#1B0727 #3E105B #62198F #8622C3 #A444DE

Accessibility & contrast

On white

10.22
#62198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#62198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62198F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62198F#FFFFFF#000000##FFFFFF
##62198F1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5B3855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #62198f;
/* rgb */ color: rgb(98, 25, 143);
/* oklch */ color: oklch(39.8% 0.179 307.9);
Tailwind
colors: {
  custom: {
    50: '#9460b1',
    500: '#62198f',
    950: '#000000',
  },
}
SCSS
$custom: #62198f;
$custom-light: #9460b1;
$custom-dark: #000000;
JSON
{
  "hex": "#62198f",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 277.119,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.17948,
    "h": 307.9
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#62198F
secondary
#73BF44
accent
#ED3B7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #62198F

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

Preview Lab → · Contrast checker → · Palette generator →

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