#63227C#63227C

#63227C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.151 H 314.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#63227C
RGBrgb(99, 34, 124)
HSLhsl(283, 57%, 31%)
HSVhsv(283, 73%, 49%)
CMYKcmyk(20.2%, 72.6%, 0%, 51.4%)
CIE-LABlab(27.44, 43.61, -38.00)
CIE-LCHlch(27.44, 57.84, 318.93°)
OKLaboklab(39.37% 0.1067 -0.107)
OKLCHoklch(39.37% 0.151 314.9)
XYZxyz(9.3551, 5.2523, 19.5859)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63227C #3B7C22
analogous
#36227C #63227C #7C2268
triadic
#63227C #7C6322 #227C63
tetradic
#63227C #7C3622 #3B7C22 #22687C
square
#63227C #7C3622 #3B7C22 #22687C
split-complementary
#63227C #687C22 #227C36
monochromatic
#16081C #3D154C #63227C #892FAC #A94BCE

Accessibility & contrast

On white

10.24
#63227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63227C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63227C#FFFFFF#000000##FFFFFF
##63227C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#1F427A
Tritanopia (blue-blind)
#61344C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #63227c;
/* rgb */ color: rgb(99, 34, 124);
/* oklch */ color: oklch(39.4% 0.151 314.9);
Tailwind
colors: {
  custom: {
    50: '#9363a2',
    500: '#63227c',
    950: '#000000',
  },
}
SCSS
$custom: #63227c;
$custom-light: #9363a2;
$custom-dark: #000000;
JSON
{
  "hex": "#63227c",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 283.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.15112,
    "h": 314.9
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#63227C
secondary
#67AF4B
accent
#E04872
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #63227C

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

Preview Lab → · Contrast checker → · Palette generator →

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