#63187F#63187F

#63187F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.6% C 0.166 H 314.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#63187F
RGBrgb(99, 24, 127)
HSLhsl(284, 68%, 30%)
HSVhsv(284, 81%, 50%)
CMYKcmyk(22%, 81.1%, 0%, 50.2%)
CIE-LABlab(26.27, 48.22, -41.78)
CIE-LCHlch(26.27, 63.81, 319.09°)
OKLaboklab(38.61% 0.1162 -0.118)
OKLCHoklch(38.61% 0.166 314.6)
XYZxyz(9.3023, 4.8386, 20.5185)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63187F #347F18
analogous
#2F187F #63187F #7F1868
triadic
#63187F #7F6318 #187F63
tetradic
#63187F #7F2F18 #347F18 #18687F
square
#63187F #7F2F18 #347F18 #18687F
split-complementary
#63187F #687F18 #187F2F
monochromatic
#14051A #3B0E4C #63187F #8B22B2 #AE38D9

Accessibility & contrast

On white

10.67
#63187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#63187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63187F
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63187F#FFFFFF#000000##FFFFFF
##63187F1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#10407D
Tritanopia (blue-blind)
#60304C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #63187f;
/* rgb */ color: rgb(99, 24, 127);
/* oklch */ color: oklch(38.6% 0.166 314.6);
Tailwind
colors: {
  custom: {
    50: '#935fa5',
    500: '#63187f',
    950: '#000000',
  },
}
SCSS
$custom: #63187f;
$custom-light: #935fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#63187f",
  "rgb": {
    "r": 99,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 283.689,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38606,
    "c": 0.16567,
    "h": 314.6
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#63187F
secondary
#5FB33F
accent
#EB3D6C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #63187F

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

Preview Lab → · Contrast checker → · Palette generator →

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