#62167D#62167D

#62167D is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.165 H 315.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#62167D
RGBrgb(98, 22, 125)
HSLhsl(284, 70%, 29%)
HSVhsv(284, 82%, 49%)
CMYKcmyk(21.6%, 82.4%, 0%, 51%)
CIE-LABlab(25.72, 48.29, -41.42)
CIE-LCHlch(25.72, 63.62, 319.38°)
OKLaboklab(38.14% 0.117 -0.117)
OKLCHoklch(38.14% 0.165 315)
XYZxyz(9.0250, 4.6515, 19.8205)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62167D #317D16
analogous
#2F167D #62167D #7D1665
triadic
#62167D #7D6216 #167D62
tetradic
#62167D #7D2F16 #317D16 #16657D
square
#62167D #7D2F16 #317D16 #16657D
split-complementary
#62167D #657D16 #167D2F
monochromatic
#14051A #390D49 #62167D #8B1FB1 #AF32DB

Accessibility & contrast

On white

10.88
#62167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#62167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62167D
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62167D#FFFFFF#000000##FFFFFF
##62167D1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#103F7B
Tritanopia (blue-blind)
#602F4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62167d;
/* rgb */ color: rgb(98, 22, 125);
/* oklch */ color: oklch(38.1% 0.165 315.0);
Tailwind
colors: {
  custom: {
    50: '#935ea3',
    500: '#62167d',
    950: '#000000',
  },
}
SCSS
$custom: #62167d;
$custom-light: #935ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#62167d",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 284.272,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38137,
    "c": 0.16545,
    "h": 315
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#62167D
secondary
#5CB23D
accent
#ED3B6A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62167D

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

Preview Lab → · Contrast checker → · Palette generator →

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