#62197E#62197E

#62197E is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.163 H 314.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#62197E
RGBrgb(98, 25, 126)
HSLhsl(283, 67%, 30%)
HSVhsv(283, 80%, 49%)
CMYKcmyk(22.2%, 80.2%, 0%, 50.6%)
CIE-LABlab(26.15, 47.46, -41.35)
CIE-LCHlch(26.15, 62.95, 318.94°)
OKLaboklab(38.47% 0.1142 -0.1168)
OKLCHoklch(38.47% 0.163 314.4)
XYZxyz(9.1499, 4.7986, 20.1789)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62197E #357E19
analogous
#2F197E #62197E #7E1968
triadic
#62197E #7E6219 #197E62
tetradic
#62197E #7E2F19 #357E19 #19687E
square
#62197E #7E2F19 #357E19 #19687E
split-complementary
#62197E #687E19 #197E2F
monochromatic
#14051A #3A0F4B #62197E #8A23B1 #AC3AD8

Accessibility & contrast

On white

10.72
#62197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#62197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62197E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62197E#FFFFFF#000000##FFFFFF
##62197E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#11407C
Tritanopia (blue-blind)
#5F314B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #62197e;
/* rgb */ color: rgb(98, 25, 126);
/* oklch */ color: oklch(38.5% 0.163 314.4);
Tailwind
colors: {
  custom: {
    50: '#925fa4',
    500: '#62197e',
    950: '#000000',
  },
}
SCSS
$custom: #62197e;
$custom-light: #925fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#62197e",
  "rgb": {
    "r": 98,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 283.366,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.16336,
    "h": 314.4
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#62197E
secondary
#60B241
accent
#EA3E6E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62197E

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

Preview Lab → · Contrast checker → · Palette generator →

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