#63227D#63227D

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

Color values

HEX#63227D
RGBrgb(99, 34, 125)
HSLhsl(283, 57%, 31%)
HSVhsv(283, 73%, 49%)
CMYKcmyk(20.8%, 72.8%, 0%, 51%)
CIE-LABlab(27.51, 43.83, -38.52)
CIE-LCHlch(27.51, 58.35, 318.69°)
OKLaboklab(39.44% 0.1066 -0.1085)
OKLCHoklch(39.44% 0.152 314.5)
XYZxyz(9.4187, 5.2777, 19.9206)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63227D #3C7D22
analogous
#35227D #63227D #7D2269
triadic
#63227D #7D6322 #227D63
tetradic
#63227D #7D3522 #3C7D22 #22697D
square
#63227D #7D3522 #3C7D22 #22697D
split-complementary
#63227D #697D22 #227D35
monochromatic
#17081D #3D154D #63227D #892FAD #A94BCE

Accessibility & contrast

On white

10.22
#63227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63227D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63227D#FFFFFF#000000##FFFFFF
##63227D1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#61354D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #63227d;
/* rgb */ color: rgb(99, 34, 125);
/* oklch */ color: oklch(39.4% 0.152 314.5);
Tailwind
colors: {
  custom: {
    50: '#9363a3',
    500: '#63227d',
    950: '#000000',
  },
}
SCSS
$custom: #63227d;
$custom-light: #9363a3;
$custom-dark: #000000;
JSON
{
  "hex": "#63227d",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 282.857,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3944,
    "c": 0.15213,
    "h": 314.5
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#63227D
secondary
#68B04B
accent
#E04773
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #63227D

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

Preview Lab → · Contrast checker → · Palette generator →

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