#63187E#63187E

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

Color values

HEX#63187E
RGBrgb(99, 24, 126)
HSLhsl(284, 68%, 29%)
HSVhsv(284, 81%, 49%)
CMYKcmyk(21.4%, 81%, 0%, 50.6%)
CIE-LABlab(26.19, 48.01, -41.28)
CIE-LCHlch(26.19, 63.32, 319.32°)
OKLaboklab(38.53% 0.1164 -0.1165)
OKLCHoklch(38.53% 0.165 315)
XYZxyz(9.2375, 4.8126, 20.1770)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63187E #337E18
analogous
#30187E #63187E #7E1866
triadic
#63187E #7E6318 #187E63
tetradic
#63187E #7E3018 #337E18 #18667E
square
#63187E #7E3018 #337E18 #18667E
split-complementary
#63187E #667E18 #187E30
monochromatic
#14051A #3B0E4B #63187E #8B22B1 #AE37D9

Accessibility & contrast

On white

10.70
#63187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63187E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63187E#FFFFFF#000000##FFFFFF
##63187E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#12407C
Tritanopia (blue-blind)
#61304B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #63187e;
/* rgb */ color: rgb(99, 24, 126);
/* oklch */ color: oklch(38.5% 0.165 315.0);
Tailwind
colors: {
  custom: {
    50: '#935fa4',
    500: '#63187e',
    950: '#000000',
  },
}
SCSS
$custom: #63187e;
$custom-light: #935fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#63187e",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 284.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.16475,
    "h": 315
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#63187E
secondary
#5EB23F
accent
#EB3D6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #63187E

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

Preview Lab → · Contrast checker → · Palette generator →

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