#63227E#63227E

#63227E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.153 H 314.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#63227E
RGBrgb(99, 34, 126)
HSLhsl(282, 58%, 31%)
HSVhsv(282, 73%, 49%)
CMYKcmyk(21.4%, 73%, 0%, 50.6%)
CIE-LABlab(27.58, 44.05, -39.04)
CIE-LCHlch(27.58, 58.86, 318.45°)
OKLaboklab(39.51% 0.1065 -0.11)
OKLCHoklch(39.51% 0.153 314.1)
XYZxyz(9.4829, 5.3034, 20.2587)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63227E #3D7E22
analogous
#35227E #63227E #7E226B
triadic
#63227E #7E6322 #227E63
tetradic
#63227E #7E3522 #3D7E22 #226B7E
square
#63227E #7E3522 #3D7E22 #226B7E
split-complementary
#63227E #6B7E22 #227E35
monochromatic
#17081E #3D154E #63227E #892FAE #A84CCF

Accessibility & contrast

On white

10.19
#63227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#63227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63227E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63227E#FFFFFF#000000##FFFFFF
##63227E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#60354D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #63227e;
/* rgb */ color: rgb(99, 34, 126);
/* oklch */ color: oklch(39.5% 0.153 314.1);
Tailwind
colors: {
  custom: {
    50: '#9363a4',
    500: '#63227e',
    950: '#000000',
  },
}
SCSS
$custom: #63227e;
$custom-light: #9363a4;
$custom-dark: #000000;
JSON
{
  "hex": "#63227e",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 282.391,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.15314,
    "h": 314.1
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#63227E
secondary
#69B14B
accent
#E14774
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #63227E

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

Preview Lab → · Contrast checker → · Palette generator →

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