#63178C#63178C

#63178C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.179 H 309.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#63178C
RGBrgb(99, 23, 140)
HSLhsl(279, 72%, 32%)
HSVhsv(279, 84%, 55%)
CMYKcmyk(29.3%, 83.6%, 0%, 45.1%)
CIE-LABlab(27.18, 51.35, -48.45)
CIE-LCHlch(27.18, 70.60, 316.67°)
OKLaboklab(39.57% 0.114 -0.1376)
OKLCHoklch(39.57% 0.179 309.6)
XYZxyz(10.1847, 5.1591, 25.2651)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63178C #408C17
analogous
#28178C #63178C #8C177B
triadic
#63178C #8C6317 #178C63
tetradic
#63178C #8C2817 #408C17 #177B8C
square
#63178C #8C2817 #408C17 #177B8C
split-complementary
#63178C #7B8C17 #178C28
monochromatic
#190623 #3E0E57 #63178C #8820C1 #A73EDF

Accessibility & contrast

On white

10.34
#63178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#63178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63178C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63178C#FFFFFF#000000##FFFFFF
##63178C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #63178c;
/* rgb */ color: rgb(99, 23, 140);
/* oklch */ color: oklch(39.6% 0.179 309.6);
Tailwind
colors: {
  custom: {
    50: '#945fae',
    500: '#63178c',
    950: '#000000',
  },
}
SCSS
$custom: #63178c;
$custom-light: #945fae;
$custom-dark: #000000;
JSON
{
  "hex": "#63178c",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 278.974,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.17872,
    "h": 309.6
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#63178C
secondary
#6CBF3F
accent
#EF3979
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63178C

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

Preview Lab → · Contrast checker → · Palette generator →

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