#63187D#63187D

#63187D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.164 H 315.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#63187D
RGBrgb(99, 24, 125)
HSLhsl(285, 68%, 29%)
HSVhsv(285, 81%, 49%)
CMYKcmyk(20.8%, 80.8%, 0%, 51%)
CIE-LABlab(26.12, 47.80, -40.76)
CIE-LCHlch(26.12, 62.82, 319.54°)
OKLaboklab(38.45% 0.1166 -0.115)
OKLCHoklch(38.45% 0.164 315.4)
XYZxyz(9.1733, 4.7869, 19.8388)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63187D #327D18
analogous
#30187D #63187D #7D1865
triadic
#63187D #7D6318 #187D63
tetradic
#63187D #7D3018 #327D18 #18657D
square
#63187D #7D3018 #327D18 #18657D
split-complementary
#63187D #657D18 #187D30
monochromatic
#14051A #3A0E4A #63187D #8C22B0 #AF37D9

Accessibility & contrast

On white

10.73
#63187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#63187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63187D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63187D#FFFFFF#000000##FFFFFF
##63187D1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#14407B
Tritanopia (blue-blind)
#61304A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #63187d;
/* rgb */ color: rgb(99, 24, 125);
/* oklch */ color: oklch(38.5% 0.164 315.4);
Tailwind
colors: {
  custom: {
    50: '#935fa3',
    500: '#63187d',
    950: '#000000',
  },
}
SCSS
$custom: #63187d;
$custom-light: #935fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#63187d",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 284.554,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.16382,
    "h": 315.4
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#63187D
secondary
#5DB23F
accent
#EB3D6A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #63187D

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

Preview Lab → · Contrast checker → · Palette generator →

#63187D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva