#63228B#63228B

#63228B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.166 H 309.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#63228B
RGBrgb(99, 34, 139)
HSLhsl(277, 61%, 34%)
HSVhsv(277, 76%, 55%)
CMYKcmyk(28.8%, 75.5%, 0%, 45.5%)
CIE-LABlab(28.54, 46.99, -45.62)
CIE-LCHlch(28.54, 65.49, 315.85°)
OKLaboklab(40.5% 0.1046 -0.1294)
OKLCHoklch(40.5% 0.166 309)
XYZxyz(10.3769, 5.6610, 24.9671)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63228B #4A8B22
analogous
#2F228B #63228B #8B227F
triadic
#63228B #8B6322 #228B63
tetradic
#63228B #8B2F22 #4A8B22 #227F8B
square
#63228B #8B2F22 #4A8B22 #227F8B
split-complementary
#63228B #7F8B22 #228B2F
monochromatic
#1D0A29 #40165A #63228B #862EBC #A353D5

Accessibility & contrast

On white

9.85
#63228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#63228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63228B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63228B#FFFFFF#000000##FFFFFF
##63228B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#024489
Tritanopia (blue-blind)
#5D3B55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #63228b;
/* rgb */ color: rgb(99, 34, 139);
/* oklch */ color: oklch(40.5% 0.166 309.0);
Tailwind
colors: {
  custom: {
    50: '#9464ae',
    500: '#63228b',
    950: '#000000',
  },
}
SCSS
$custom: #63228b;
$custom-light: #9464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#63228b",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 277.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.16637,
    "h": 309
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#63228B
secondary
#78B850
accent
#E44481
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63228B

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

Preview Lab → · Contrast checker → · Palette generator →

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