#63187B#63187B

#63187B is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.162 H 316.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#63187B
RGBrgb(99, 24, 123)
HSLhsl(285, 67%, 29%)
HSVhsv(285, 80%, 48%)
CMYKcmyk(19.5%, 80.5%, 0%, 51.8%)
CIE-LABlab(25.97, 47.39, -39.74)
CIE-LCHlch(25.97, 61.84, 320.02°)
OKLaboklab(38.3% 0.117 -0.112)
OKLCHoklch(38.3% 0.162 316.2)
XYZxyz(9.0468, 4.7363, 19.1727)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63187B #307B18
analogous
#32187B #63187B #7B1862
triadic
#63187B #7B6318 #187B63
tetradic
#63187B #7B3218 #307B18 #18627B
square
#63187B #7B3218 #307B18 #18627B
split-complementary
#63187B #627B18 #187B32
monochromatic
#15051A #3A0E48 #63187B #8C22AE #B036D8

Accessibility & contrast

On white

10.78
#63187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#63187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63187B
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63187B#FFFFFF#000000##FFFFFF
##63187B1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#173F79
Tritanopia (blue-blind)
#612F49
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #63187b;
/* rgb */ color: rgb(99, 24, 123);
/* oklch */ color: oklch(38.3% 0.162 316.2);
Tailwind
colors: {
  custom: {
    50: '#935fa2',
    500: '#63187b',
    950: '#000000',
  },
}
SCSS
$custom: #63187b;
$custom-light: #935fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#63187b",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 285.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.383,
    "c": 0.16197,
    "h": 316.2
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#63187B
secondary
#5AB03F
accent
#EA3E67
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #63187B

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

Preview Lab → · Contrast checker → · Palette generator →

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