#62198E#62198E

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

Color values

HEX#62198E
RGBrgb(98, 25, 142)
HSLhsl(277, 70%, 33%)
HSVhsv(277, 82%, 56%)
CMYKcmyk(31%, 82.4%, 0%, 44.3%)
CIE-LABlab(27.42, 50.95, -49.31)
CIE-LCHlch(27.42, 70.90, 315.94°)
OKLaboklab(39.75% 0.1105 -0.1402)
OKLCHoklch(39.75% 0.179 308.3)
XYZxyz(10.2661, 5.2451, 26.0575)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62198E #458E19
analogous
#28198E #62198E #8E197F
triadic
#62198E #8E6219 #198E62
tetradic
#62198E #8E2819 #458E19 #197F8E
square
#62198E #8E2819 #458E19 #197F8E
split-complementary
#62198E #7F8E19 #198E28
monochromatic
#1A0726 #3E105A #62198E #8622C2 #A443DE

Accessibility & contrast

On white

10.25
#62198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#62198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62198E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62198E#FFFFFF#000000##FFFFFF
##62198E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#5B3854
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #62198e;
/* rgb */ color: rgb(98, 25, 142);
/* oklch */ color: oklch(39.8% 0.179 308.3);
Tailwind
colors: {
  custom: {
    50: '#9460b0',
    500: '#62198e',
    950: '#000000',
  },
}
SCSS
$custom: #62198e;
$custom-light: #9460b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62198e",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 277.436,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.17853,
    "h": 308.3
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#62198E
secondary
#72BF44
accent
#ED3B7E
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #62198E

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

Preview Lab → · Contrast checker → · Palette generator →

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