#63127F#63127F

#63127F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.1% C 0.171 H 315.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#63127F
RGBrgb(99, 18, 127)
HSLhsl(285, 75%, 28%)
HSVhsv(285, 86%, 50%)
CMYKcmyk(22%, 85.8%, 0%, 50.2%)
CIE-LABlab(25.62, 50.12, -42.84)
CIE-LCHlch(25.62, 65.94, 319.48°)
OKLaboklab(38.15% 0.121 -0.1211)
OKLCHoklch(38.15% 0.171 315)
XYZxyz(9.1920, 4.6179, 20.4817)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63127F #2E7F12
analogous
#2C127F #63127F #7F1264
triadic
#63127F #7F6312 #127F63
tetradic
#63127F #7F2C12 #2E7F12 #12647F
square
#63127F #7F2C12 #2E7F12 #12647F
split-complementary
#63127F #647F12 #127F2C
monochromatic
#15041B #390A49 #63127F #8D1AB5 #B22BE1

Accessibility & contrast

On white

10.92
#63127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#63127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63127F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63127F#FFFFFF#000000##FFFFFF
##63127F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#093F7D
Tritanopia (blue-blind)
#602E4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #63127f;
/* rgb */ color: rgb(99, 18, 127);
/* oklch */ color: oklch(38.1% 0.171 315.0);
Tailwind
colors: {
  custom: {
    50: '#945da5',
    500: '#63127f',
    950: '#000000',
  },
}
SCSS
$custom: #63127f;
$custom-light: #945da5;
$custom-dark: #000000;
JSON
{
  "hex": "#63127f",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 284.587,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38149,
    "c": 0.17118,
    "h": 315
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#63127F
secondary
#58B538
accent
#F23666
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #63127F

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

Preview Lab → · Contrast checker → · Palette generator →

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