#63178F#63178F

#63178F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.182 H 308.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#63178F
RGBrgb(99, 23, 143)
HSLhsl(278, 72%, 33%)
HSVhsv(278, 84%, 56%)
CMYKcmyk(30.8%, 83.9%, 0%, 43.9%)
CIE-LABlab(27.43, 52.01, -49.90)
CIE-LCHlch(27.43, 72.08, 316.18°)
OKLaboklab(39.82% 0.1132 -0.1419)
OKLCHoklch(39.82% 0.182 308.6)
XYZxyz(10.4089, 5.2488, 26.4461)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63178F #438F17
analogous
#27178F #63178F #8F177F
triadic
#63178F #8F6317 #178F63
tetradic
#63178F #8F2717 #438F17 #177F8F
square
#63178F #8F2717 #438F17 #177F8F
split-complementary
#63178F #7F8F17 #178F27
monochromatic
#1A0626 #3F0F5A #63178F #871FC4 #A640E0

Accessibility & contrast

On white

10.24
#63178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#63178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63178F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63178F#FFFFFF#000000##FFFFFF
##63178F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#5C3755
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #63178f;
/* rgb */ color: rgb(99, 23, 143);
/* oklch */ color: oklch(39.8% 0.182 308.6);
Tailwind
colors: {
  custom: {
    50: '#945fb1',
    500: '#63178f',
    950: '#000000',
  },
}
SCSS
$custom: #63178f;
$custom-light: #945fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#63178f",
  "rgb": {
    "r": 99,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 278,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.18152,
    "h": 308.6
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#63178F
secondary
#70C141
accent
#EF397C
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #63178F

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

Preview Lab → · Contrast checker → · Palette generator →

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