#62197D#62197D

#62197D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.162 H 314.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#62197D
RGBrgb(98, 25, 125)
HSLhsl(284, 67%, 29%)
HSVhsv(284, 80%, 49%)
CMYKcmyk(21.6%, 80%, 0%, 51%)
CIE-LABlab(26.08, 47.25, -40.84)
CIE-LCHlch(26.08, 62.45, 319.16°)
OKLaboklab(38.39% 0.1144 -0.1153)
OKLCHoklch(38.39% 0.162 314.8)
XYZxyz(9.0857, 4.7729, 19.8407)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62197D #347D19
analogous
#30197D #62197D #7D1966
triadic
#62197D #7D6219 #197D62
tetradic
#62197D #7D3019 #347D19 #19667D
square
#62197D #7D3019 #347D19 #19667D
split-complementary
#62197D #667D19 #197D30
monochromatic
#14051A #3A0F4A #62197D #8A23B0 #AD39D7

Accessibility & contrast

On white

10.74
#62197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#62197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62197D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62197D#FFFFFF#000000##FFFFFF
##62197D1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#133F7B
Tritanopia (blue-blind)
#60304B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #62197d;
/* rgb */ color: rgb(98, 25, 125);
/* oklch */ color: oklch(38.4% 0.162 314.8);
Tailwind
colors: {
  custom: {
    50: '#925fa3',
    500: '#62197d',
    950: '#000000',
  },
}
SCSS
$custom: #62197d;
$custom-light: #925fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#62197d",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 283.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38391,
    "c": 0.16242,
    "h": 314.8
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#62197D
secondary
#5FB140
accent
#EA3E6C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62197D

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

Preview Lab → · Contrast checker → · Palette generator →

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