#63158A#63158A

#63158A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.3% C 0.179 H 310.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#63158A
RGBrgb(99, 21, 138)
HSLhsl(280, 74%, 31%)
HSVhsv(280, 85%, 54%)
CMYKcmyk(28.3%, 84.8%, 0%, 45.9%)
CIE-LABlab(26.80, 51.55, -47.82)
CIE-LCHlch(26.80, 70.31, 317.15°)
OKLaboklab(39.25% 0.116 -0.1357)
OKLCHoklch(39.25% 0.179 310.5)
XYZxyz(10.0003, 5.0242, 24.4828)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63158A #3C8A15
analogous
#28158A #63158A #8A1576
triadic
#63158A #8A6315 #158A63
tetradic
#63158A #8A2815 #3C8A15 #15768A
square
#63158A #8A2815 #3C8A15 #15768A
split-complementary
#63158A #768A15 #158A28
monochromatic
#170520 #3D0D55 #63158A #891DBF #A939E1

Accessibility & contrast

On white

10.47
#63158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#63158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63158A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63158A#FFFFFF#000000##FFFFFF
##63158A1.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#5D3451
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #63158a;
/* rgb */ color: rgb(99, 21, 138);
/* oklch */ color: oklch(39.3% 0.179 310.5);
Tailwind
colors: {
  custom: {
    50: '#945ead',
    500: '#63158a',
    950: '#000000',
  },
}
SCSS
$custom: #63158a;
$custom-light: #945ead;
$custom-dark: #000000;
JSON
{
  "hex": "#63158a",
  "rgb": {
    "r": 99,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 280,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39253,
    "c": 0.17859,
    "h": 310.5
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#63158A
secondary
#68BE3D
accent
#F03875
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63158A

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

Preview Lab → · Contrast checker → · Palette generator →

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