#62197B#62197B

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

Color values

HEX#62197B
RGBrgb(98, 25, 123)
HSLhsl(285, 66%, 29%)
HSVhsv(285, 80%, 48%)
CMYKcmyk(20.3%, 79.7%, 0%, 51.8%)
CIE-LABlab(25.93, 46.83, -39.81)
CIE-LCHlch(25.93, 61.46, 319.63°)
OKLaboklab(38.24% 0.1147 -0.1123)
OKLCHoklch(38.24% 0.161 315.6)
XYZxyz(8.9592, 4.7223, 19.1746)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62197B #327B19
analogous
#31197B #62197B #7B1963
triadic
#62197B #7B6219 #197B62
tetradic
#62197B #7B3119 #327B19 #19637B
square
#62197B #7B3119 #327B19 #19637B
split-complementary
#62197B #637B19 #197B31
monochromatic
#140519 #390F48 #62197B #8B23AE #AE38D7

Accessibility & contrast

On white

10.80
#62197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62197B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62197B#FFFFFF#000000##FFFFFF
##62197B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#163F79
Tritanopia (blue-blind)
#602F49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62197b;
/* rgb */ color: rgb(98, 25, 123);
/* oklch */ color: oklch(38.2% 0.161 315.6);
Tailwind
colors: {
  custom: {
    50: '#925fa2',
    500: '#62197b',
    950: '#000000',
  },
}
SCSS
$custom: #62197b;
$custom-light: #925fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#62197b",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 284.694,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38238,
    "c": 0.16054,
    "h": 315.6
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#62197B
secondary
#5DAF40
accent
#E93F6A
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62197B

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

Preview Lab → · Contrast checker → · Palette generator →

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