#63178A#63178A

#63178A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.177 H 310.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#63178A
RGBrgb(99, 23, 138)
HSLhsl(280, 71%, 32%)
HSVhsv(280, 83%, 54%)
CMYKcmyk(28.3%, 83.3%, 0%, 45.9%)
CIE-LABlab(27.02, 50.92, -47.47)
CIE-LCHlch(27.02, 69.61, 317.01°)
OKLaboklab(39.4% 0.1146 -0.1347)
OKLCHoklch(39.4% 0.177 310.4)
XYZxyz(10.0385, 5.1007, 24.4955)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63178A #3E8A17
analogous
#29178A #63178A #8A1778
triadic
#63178A #8A6317 #178A63
tetradic
#63178A #8A2917 #3E8A17 #17788A
square
#63178A #8A2917 #3E8A17 #17788A
split-complementary
#63178A #788A17 #178A29
monochromatic
#180621 #3D0E56 #63178A #8920BE #A83DDF

Accessibility & contrast

On white

10.40
#63178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#63178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63178A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63178A#FFFFFF#000000##FFFFFF
##63178A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#5D3552
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #63178a;
/* rgb */ color: rgb(99, 23, 138);
/* oklch */ color: oklch(39.4% 0.177 310.4);
Tailwind
colors: {
  custom: {
    50: '#945fad',
    500: '#63178a',
    950: '#000000',
  },
}
SCSS
$custom: #63178a;
$custom-light: #945fad;
$custom-dark: #000000;
JSON
{
  "hex": "#63178a",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 279.652,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.17685,
    "h": 310.4
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#63178A
secondary
#6ABE3F
accent
#EE3A77
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63178A

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

Preview Lab → · Contrast checker → · Palette generator →

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