#63138A#63138A

#63138A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.180 H 310.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#63138A
RGBrgb(99, 19, 138)
HSLhsl(280, 76%, 31%)
HSVhsv(280, 86%, 54%)
CMYKcmyk(28.3%, 86.2%, 0%, 45.9%)
CIE-LABlab(26.60, 52.14, -48.15)
CIE-LCHlch(26.60, 70.97, 317.28°)
OKLaboklab(39.11% 0.1174 -0.1367)
OKLCHoklch(39.11% 0.18 310.7)
XYZxyz(9.9650, 4.9536, 24.4710)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63138A #3A8A13
analogous
#27138A #63138A #8A1375
triadic
#63138A #8A6313 #138A63
tetradic
#63138A #8A2713 #3A8A13 #13758A
square
#63138A #8A2713 #3A8A13 #13758A
split-complementary
#63138A #758A13 #138A27
monochromatic
#16041E #3C0C54 #63138A #8A1AC0 #AA34E3

Accessibility & contrast

On white

10.55
#63138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#63138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63138A
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63138A#FFFFFF#000000##FFFFFF
##63138A1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #63138a;
/* rgb */ color: rgb(99, 19, 138);
/* oklch */ color: oklch(39.1% 0.180 310.7);
Tailwind
colors: {
  custom: {
    50: '#945ead',
    500: '#63138a',
    950: '#000000',
  },
}
SCSS
$custom: #63138a;
$custom-light: #945ead;
$custom-dark: #000000;
JSON
{
  "hex": "#63138a",
  "rgb": {
    "r": 99,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 280.336,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39113,
    "c": 0.18021,
    "h": 310.7
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#63138A
secondary
#66BE3A
accent
#F23573
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #63138A

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

Preview Lab → · Contrast checker → · Palette generator →

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