#63167E#63167E

#63167E is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.167 H 315.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#63167E
RGBrgb(99, 22, 126)
HSLhsl(284, 70%, 29%)
HSVhsv(284, 83%, 49%)
CMYKcmyk(21.4%, 82.5%, 0%, 50.6%)
CIE-LABlab(25.96, 48.69, -41.65)
CIE-LCHlch(25.96, 64.07, 319.45°)
OKLaboklab(38.37% 0.1181 -0.1176)
OKLCHoklch(38.37% 0.167 315.1)
XYZxyz(9.1978, 4.7332, 20.1637)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63167E #317E16
analogous
#2F167E #63167E #7E1665
triadic
#63167E #7E6316 #167E63
tetradic
#63167E #7E2F16 #317E16 #16657E
square
#63167E #7E2F16 #317E16 #16657E
split-complementary
#63167E #657E16 #167E2F
monochromatic
#14051A #3A0D4A #63167E #8C1FB2 #B033DB

Accessibility & contrast

On white

10.79
#63167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#63167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63167E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63167E#FFFFFF#000000##FFFFFF
##63167E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#103F7C
Tritanopia (blue-blind)
#612F4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #63167e;
/* rgb */ color: rgb(99, 22, 126);
/* oklch */ color: oklch(38.4% 0.167 315.1);
Tailwind
colors: {
  custom: {
    50: '#935ea4',
    500: '#63167e',
    950: '#000000',
  },
}
SCSS
$custom: #63167e;
$custom-light: #935ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#63167e",
  "rgb": {
    "r": 99,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 284.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38365,
    "c": 0.16671,
    "h": 315.1
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#63167E
secondary
#5CB33D
accent
#ED3B69
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #63167E

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

Preview Lab → · Contrast checker → · Palette generator →

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