#63227F#63227F

#63227F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.154 H 313.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#63227F
RGBrgb(99, 34, 127)
HSLhsl(282, 58%, 32%)
HSVhsv(282, 73%, 50%)
CMYKcmyk(22%, 73.2%, 0%, 50.2%)
CIE-LABlab(27.65, 44.27, -39.55)
CIE-LCHlch(27.65, 59.36, 318.22°)
OKLaboklab(39.59% 0.1064 -0.1116)
OKLCHoklch(39.59% 0.154 313.6)
XYZxyz(9.5477, 5.3293, 20.6003)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63227F #3E7F22
analogous
#34227F #63227F #7F226D
triadic
#63227F #7F6322 #227F63
tetradic
#63227F #7F3422 #3E7F22 #226D7F
square
#63227F #7F3422 #3E7F22 #226D7F
split-complementary
#63227F #6D7F22 #227F34
monochromatic
#18081E #3D154F #63227F #892FAF #A84CCF

Accessibility & contrast

On white

10.17
#63227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#63227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63227F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63227F#FFFFFF#000000##FFFFFF
##63227F1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#60364E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #63227f;
/* rgb */ color: rgb(99, 34, 127);
/* oklch */ color: oklch(39.6% 0.154 313.6);
Tailwind
colors: {
  custom: {
    50: '#9363a5',
    500: '#63227f',
    950: '#000000',
  },
}
SCSS
$custom: #63227f;
$custom-light: #9363a5;
$custom-dark: #000000;
JSON
{
  "hex": "#63227f",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 281.935,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39586,
    "c": 0.15416,
    "h": 313.6
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#63227F
secondary
#6AB24B
accent
#E14775
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #63227F

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

Preview Lab → · Contrast checker → · Palette generator →

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