#62167C#62167C

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

Color values

HEX#62167C
RGBrgb(98, 22, 124)
HSLhsl(285, 70%, 29%)
HSVhsv(285, 82%, 49%)
CMYKcmyk(21%, 82.3%, 0%, 51.4%)
CIE-LABlab(25.64, 48.08, -40.91)
CIE-LCHlch(25.64, 63.13, 319.61°)
OKLaboklab(38.06% 0.1172 -0.1155)
OKLCHoklch(38.06% 0.165 315.4)
XYZxyz(8.9614, 4.6261, 19.4857)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62167C #307C16
analogous
#2F167C #62167C #7C1663
triadic
#62167C #7C6216 #167C62
tetradic
#62167C #7C2F16 #307C16 #16637C
square
#62167C #7C2F16 #307C16 #16637C
split-complementary
#62167C #637C16 #167C2F
monochromatic
#15051A #390D48 #62167C #8B1FB0 #B032DB

Accessibility & contrast

On white

10.91
#62167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62167C
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62167C#FFFFFF#000000##FFFFFF
##62167C1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#113F7A
Tritanopia (blue-blind)
#602E49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62167c;
/* rgb */ color: rgb(98, 22, 124);
/* oklch */ color: oklch(38.1% 0.165 315.4);
Tailwind
colors: {
  custom: {
    50: '#935ea3',
    500: '#62167c',
    950: '#000000',
  },
}
SCSS
$custom: #62167c;
$custom-light: #935ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#62167c",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 284.706,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3806,
    "c": 0.16453,
    "h": 315.4
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#62167C
secondary
#5AB13D
accent
#ED3B68
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62167C

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

Preview Lab → · Contrast checker → · Palette generator →

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