#63178E#63178E

#63178E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.181 H 308.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#63178E
RGBrgb(99, 23, 142)
HSLhsl(278, 72%, 32%)
HSVhsv(278, 84%, 56%)
CMYKcmyk(30.3%, 83.8%, 0%, 44.3%)
CIE-LABlab(27.35, 51.79, -49.42)
CIE-LCHlch(27.35, 71.58, 316.34°)
OKLaboklab(39.74% 0.1135 -0.1405)
OKLCHoklch(39.74% 0.181 308.9)
XYZxyz(10.3335, 5.2186, 26.0489)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63178E #428E17
analogous
#27178E #63178E #8E177E
triadic
#63178E #8E6317 #178E63
tetradic
#63178E #8E2717 #428E17 #177E8E
square
#63178E #8E2717 #428E17 #177E8E
split-complementary
#63178E #7E8E17 #178E27
monochromatic
#1A0625 #3E0E59 #63178E #8820C3 #A63FE0

Accessibility & contrast

On white

10.28
#63178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#63178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63178E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63178E#FFFFFF#000000##FFFFFF
##63178E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#5C3754
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #63178e;
/* rgb */ color: rgb(99, 23, 142);
/* oklch */ color: oklch(39.7% 0.181 308.9);
Tailwind
colors: {
  custom: {
    50: '#945fb0',
    500: '#63178e',
    950: '#000000',
  },
}
SCSS
$custom: #63178e;
$custom-light: #945fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#63178e",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 278.319,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.18059,
    "h": 308.9
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#63178E
secondary
#6FC040
accent
#EF397B
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #63178E

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

Preview Lab → · Contrast checker → · Palette generator →

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