#62198C#62198C

#62198C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.177 H 309.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#62198C
RGBrgb(98, 25, 140)
HSLhsl(278, 70%, 32%)
HSVhsv(278, 82%, 55%)
CMYKcmyk(30%, 82.1%, 0%, 45.1%)
CIE-LABlab(27.26, 50.51, -48.33)
CIE-LCHlch(27.26, 69.91, 316.26°)
OKLaboklab(39.59% 0.1111 -0.1373)
OKLCHoklch(39.59% 0.177 309)
XYZxyz(10.1173, 5.1856, 25.2738)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62198C #438C19
analogous
#29198C #62198C #8C197D
triadic
#62198C #8C6219 #198C62
tetradic
#62198C #8C2919 #438C19 #197D8C
square
#62198C #8C2919 #438C19 #197D8C
split-complementary
#62198C #7D8C19 #198C29
monochromatic
#190624 #3E1058 #62198C #8622C0 #A542DD

Accessibility & contrast

On white

10.31
#62198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#62198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62198C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62198C#FFFFFF#000000##FFFFFF
##62198C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#5B3753
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62198c;
/* rgb */ color: rgb(98, 25, 140);
/* oklch */ color: oklch(39.6% 0.177 309.0);
Tailwind
colors: {
  custom: {
    50: '#9360ae',
    500: '#62198c',
    950: '#000000',
  },
}
SCSS
$custom: #62198c;
$custom-light: #9360ae;
$custom-dark: #000000;
JSON
{
  "hex": "#62198c",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 278.087,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39588,
    "c": 0.17662,
    "h": 309
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#62198C
secondary
#70BE43
accent
#ED3B7C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62198C

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

Preview Lab → · Contrast checker → · Palette generator →

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