#62167E#62167E

#62167E is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.166 H 314.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#62167E
RGBrgb(98, 22, 126)
HSLhsl(284, 70%, 29%)
HSVhsv(284, 83%, 49%)
CMYKcmyk(22.2%, 82.5%, 0%, 50.6%)
CIE-LABlab(25.79, 48.50, -41.93)
CIE-LCHlch(25.79, 64.11, 319.15°)
OKLaboklab(38.21% 0.1168 -0.1185)
OKLCHoklch(38.21% 0.166 314.6)
XYZxyz(9.0892, 4.6772, 20.1586)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62167E #327E16
analogous
#2E167E #62167E #7E1666
triadic
#62167E #7E6216 #167E62
tetradic
#62167E #7E2E16 #327E16 #16667E
square
#62167E #7E2E16 #327E16 #16667E
split-complementary
#62167E #667E16 #167E2E
monochromatic
#14051A #390D4A #62167E #8B1FB2 #AE33DB

Accessibility & contrast

On white

10.85
#62167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#62167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62167E
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62167E#FFFFFF#000000##FFFFFF
##62167E1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#0E3F7C
Tritanopia (blue-blind)
#5F2F4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62167e;
/* rgb */ color: rgb(98, 22, 126);
/* oklch */ color: oklch(38.2% 0.166 314.6);
Tailwind
colors: {
  custom: {
    50: '#935ea4',
    500: '#62167e',
    950: '#000000',
  },
}
SCSS
$custom: #62167e;
$custom-light: #935ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#62167e",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 283.846,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.16637,
    "h": 314.6
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#62167E
secondary
#5DB33D
accent
#ED3B6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62167E

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

Preview Lab → · Contrast checker → · Palette generator →

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