#63158F#63158F

#63158F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.183 H 308.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#63158F
RGBrgb(99, 21, 143)
HSLhsl(278, 74%, 32%)
HSVhsv(278, 85%, 56%)
CMYKcmyk(30.8%, 85.3%, 0%, 43.9%)
CIE-LABlab(27.22, 52.63, -50.25)
CIE-LCHlch(27.22, 72.76, 316.33°)
OKLaboklab(39.67% 0.1146 -0.1429)
OKLCHoklch(39.67% 0.183 308.7)
XYZxyz(10.3706, 5.1723, 26.4333)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63158F #418F15
analogous
#26158F #63158F #8F157E
triadic
#63158F #8F6315 #158F63
tetradic
#63158F #8F2615 #418F15 #157E8F
square
#63158F #8F2615 #418F15 #157E8F
split-complementary
#63158F #7E8F15 #158F26
monochromatic
#190524 #3E0D5A #63158F #881DC4 #A63CE2

Accessibility & contrast

On white

10.32
#63158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#63158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63158F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63158F#FFFFFF#000000##FFFFFF
##63158F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#5C3754
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #63158f;
/* rgb */ color: rgb(99, 21, 143);
/* oklch */ color: oklch(39.7% 0.183 308.7);
Tailwind
colors: {
  custom: {
    50: '#955fb1',
    500: '#63158f',
    950: '#000000',
  },
}
SCSS
$custom: #63158f;
$custom-light: #955fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#63158f",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 278.361,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.18319,
    "h": 308.7
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#63158F
secondary
#6DC23E
accent
#F1377A
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #63158F

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

Preview Lab → · Contrast checker → · Palette generator →

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