#62167B#62167B

#62167B is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.164 H 315.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#62167B
RGBrgb(98, 22, 123)
HSLhsl(285, 70%, 28%)
HSVhsv(285, 82%, 48%)
CMYKcmyk(20.3%, 82.1%, 0%, 51.8%)
CIE-LABlab(25.57, 47.87, -40.40)
CIE-LCHlch(25.57, 62.64, 319.84°)
OKLaboklab(37.98% 0.1174 -0.114)
OKLCHoklch(37.98% 0.164 315.8)
XYZxyz(8.8985, 4.6009, 19.1544)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62167B #2F7B16
analogous
#30167B #62167B #7B1661
triadic
#62167B #7B6216 #167B62
tetradic
#62167B #7B3016 #2F7B16 #16617B
square
#62167B #7B3016 #2F7B16 #16617B
split-complementary
#62167B #617B16 #167B30
monochromatic
#15051A #390D47 #62167B #8B1FAF #B031DA

Accessibility & contrast

On white

10.94
#62167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#62167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62167B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62167B#FFFFFF#000000##FFFFFF
##62167B1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#133F79
Tritanopia (blue-blind)
#602E49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62167b;
/* rgb */ color: rgb(98, 22, 123);
/* oklch */ color: oklch(38.0% 0.164 315.8);
Tailwind
colors: {
  custom: {
    50: '#925ea2',
    500: '#62167b',
    950: '#000000',
  },
}
SCSS
$custom: #62167b;
$custom-light: #925ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#62167b",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 285.149,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37983,
    "c": 0.16361,
    "h": 315.8
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#62167B
secondary
#59B03D
accent
#EC3B67
background
#F9F5FA
surface
#F2E9F3
border
#CCC5CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62167B

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

Preview Lab → · Contrast checker → · Palette generator →

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