#62108D#62108D

#62108D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.185 H 309.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#62108D
RGBrgb(98, 16, 141)
HSLhsl(279, 80%, 31%)
HSVhsv(279, 89%, 55%)
CMYKcmyk(30.5%, 88.7%, 0%, 44.7%)
CIE-LABlab(26.42, 53.42, -50.32)
CIE-LCHlch(26.42, 73.39, 316.72°)
OKLaboklab(39.03% 0.117 -0.1431)
OKLCHoklch(39.03% 0.185 309.3)
XYZxyz(10.0290, 4.8905, 25.6098)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62108D #3B8D10
analogous
#23108D #62108D #8D1079
triadic
#62108D #8D6210 #108D62
tetradic
#62108D #8D2310 #3B8D10 #10798D
square
#62108D #8D2310 #3B8D10 #10798D
split-complementary
#62108D #798D10 #108D23
monochromatic
#16041F #3C0A56 #62108D #8816C4 #A830E7

Accessibility & contrast

On white

10.62
#62108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#62108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62108D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62108D#FFFFFF#000000##FFFFFF
##62108D1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#5B3452
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #62108d;
/* rgb */ color: rgb(98, 16, 141);
/* oklch */ color: oklch(39.0% 0.185 309.3);
Tailwind
colors: {
  custom: {
    50: '#945daf',
    500: '#62108d',
    950: '#000000',
  },
}
SCSS
$custom: #62108d;
$custom-light: #945daf;
$custom-dark: #000000;
JSON
{
  "hex": "#62108d",
  "rgb": {
    "r": 98,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 279.36,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39033,
    "c": 0.18482,
    "h": 309.3
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#62108D
secondary
#67C237
accent
#F63275
background
#F9F5FA
surface
#F2E9F5
border
#CCC5CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62108D

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

Preview Lab → · Contrast checker → · Palette generator →

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