#63178B#63178B

#63178B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.178 H 310.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#63178B
RGBrgb(99, 23, 139)
HSLhsl(279, 72%, 32%)
HSVhsv(279, 83%, 55%)
CMYKcmyk(28.8%, 83.5%, 0%, 45.5%)
CIE-LABlab(27.10, 51.13, -47.96)
CIE-LCHlch(27.10, 70.10, 316.84°)
OKLaboklab(39.49% 0.1143 -0.1362)
OKLCHoklch(39.49% 0.178 310)
XYZxyz(10.1113, 5.1297, 24.8786)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63178B #3F8B17
analogous
#29178B #63178B #8B1779
triadic
#63178B #8B6317 #178B63
tetradic
#63178B #8B2917 #3F8B17 #17798B
square
#63178B #8B2917 #3F8B17 #17798B
split-complementary
#63178B #798B17 #178B29
monochromatic
#180622 #3E0E56 #63178B #8820C0 #A73DDF

Accessibility & contrast

On white

10.37
#63178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63178B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63178B#FFFFFF#000000##FFFFFF
##63178B1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#5D3652
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #63178b;
/* rgb */ color: rgb(99, 23, 139);
/* oklch */ color: oklch(39.5% 0.178 310.0);
Tailwind
colors: {
  custom: {
    50: '#945fae',
    500: '#63178b',
    950: '#000000',
  },
}
SCSS
$custom: #63178b;
$custom-light: #945fae;
$custom-dark: #000000;
JSON
{
  "hex": "#63178b",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 279.31,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.17778,
    "h": 310
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#63178B
secondary
#6BBF3F
accent
#EE3978
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63178B

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

Preview Lab → · Contrast checker → · Palette generator →

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