#62197A#62197A

#62197A is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.160 H 316.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#62197A
RGBrgb(98, 25, 122)
HSLhsl(285, 66%, 29%)
HSVhsv(285, 80%, 48%)
CMYKcmyk(19.7%, 79.5%, 0%, 52.2%)
CIE-LABlab(25.85, 46.62, -39.30)
CIE-LCHlch(25.85, 60.97, 319.87°)
OKLaboklab(38.16% 0.1149 -0.1108)
OKLCHoklch(38.16% 0.16 316)
XYZxyz(8.8969, 4.6974, 18.8466)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62197A #317A19
analogous
#32197A #62197A #7A1962
triadic
#62197A #7A6219 #197A62
tetradic
#62197A #7A3219 #317A19 #19627A
square
#62197A #7A3219 #317A19 #19627A
split-complementary
#62197A #627A19 #197A32
monochromatic
#140519 #390F47 #62197A #8B23AD #AF37D6

Accessibility & contrast

On white

10.83
#62197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#62197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62197A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62197A#FFFFFF#000000##FFFFFF
##62197A1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#183F78
Tritanopia (blue-blind)
#602F49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62197a;
/* rgb */ color: rgb(98, 25, 122);
/* oklch */ color: oklch(38.2% 0.160 316.0);
Tailwind
colors: {
  custom: {
    50: '#925fa1',
    500: '#62197a',
    950: '#000000',
  },
}
SCSS
$custom: #62197a;
$custom-light: #925fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#62197a",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 285.155,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.1596,
    "h": 316
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#62197A
secondary
#5CAF40
accent
#E93F69
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62197A

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

Preview Lab → · Contrast checker → · Palette generator →

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