#63227B#63227B

#63227B is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.150 H 315.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#63227B
RGBrgb(99, 34, 123)
HSLhsl(284, 57%, 31%)
HSVhsv(284, 72%, 48%)
CMYKcmyk(19.5%, 72.4%, 0%, 51.8%)
CIE-LABlab(27.37, 43.39, -37.48)
CIE-LCHlch(27.37, 57.33, 319.18°)
OKLaboklab(39.3% 0.1068 -0.1055)
OKLCHoklch(39.3% 0.15 315.4)
XYZxyz(9.2922, 5.2271, 19.2545)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63227B #3A7B22
analogous
#36227B #63227B #7B2266
triadic
#63227B #7B6322 #227B63
tetradic
#63227B #7B3622 #3A7B22 #22667B
square
#63227B #7B3622 #3A7B22 #22667B
split-complementary
#63227B #667B22 #227B36
monochromatic
#16071B #3C154B #63227B #8A2FAB #AA4ACD

Accessibility & contrast

On white

10.27
#63227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#63227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63227B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63227B#FFFFFF#000000##FFFFFF
##63227B1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#61344C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #63227b;
/* rgb */ color: rgb(99, 34, 123);
/* oklch */ color: oklch(39.3% 0.150 315.4);
Tailwind
colors: {
  custom: {
    50: '#9363a2',
    500: '#63227b',
    950: '#000000',
  },
}
SCSS
$custom: #63227b;
$custom-light: #9363a2;
$custom-dark: #000000;
JSON
{
  "hex": "#63227b",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 283.82,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39296,
    "c": 0.15011,
    "h": 315.4
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#63227B
secondary
#66AE4B
accent
#E04871
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #63227B

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

Preview Lab → · Contrast checker → · Palette generator →

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