#63178D#63178D

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

Color values

HEX#63178D
RGBrgb(99, 23, 141)
HSLhsl(279, 72%, 32%)
HSVhsv(279, 84%, 55%)
CMYKcmyk(29.8%, 83.7%, 0%, 44.7%)
CIE-LABlab(27.27, 51.57, -48.93)
CIE-LCHlch(27.27, 71.09, 316.50°)
OKLaboklab(39.65% 0.1138 -0.139)
OKLCHoklch(39.65% 0.18 309.3)
XYZxyz(10.2587, 5.1887, 25.6552)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63178D #418D17
analogous
#28178D #63178D #8D177C
triadic
#63178D #8D6317 #178D63
tetradic
#63178D #8D2817 #418D17 #177C8D
square
#63178D #8D2817 #418D17 #177C8D
split-complementary
#63178D #7C8D17 #178D28
monochromatic
#190624 #3E0E58 #63178D #8820C2 #A63FE0

Accessibility & contrast

On white

10.31
#63178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63178D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63178D#FFFFFF#000000##FFFFFF
##63178D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#5D3653
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #63178d;
/* rgb */ color: rgb(99, 23, 141);
/* oklch */ color: oklch(39.7% 0.180 309.3);
Tailwind
colors: {
  custom: {
    50: '#945faf',
    500: '#63178d',
    950: '#000000',
  },
}
SCSS
$custom: #63178d;
$custom-light: #945faf;
$custom-dark: #000000;
JSON
{
  "hex": "#63178d",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 278.644,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.17965,
    "h": 309.3
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#63178D
secondary
#6DC040
accent
#EF397A
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63178D

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

Preview Lab → · Contrast checker → · Palette generator →

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