#63228D#63228D

#63228D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.168 H 308.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#63228D
RGBrgb(99, 34, 141)
HSLhsl(276, 61%, 34%)
HSVhsv(276, 76%, 55%)
CMYKcmyk(29.8%, 75.9%, 0%, 44.7%)
CIE-LABlab(28.69, 47.45, -46.61)
CIE-LCHlch(28.69, 66.51, 315.51°)
OKLaboklab(40.65% 0.1042 -0.1323)
OKLCHoklch(40.65% 0.168 308.2)
XYZxyz(10.5243, 5.7200, 25.7438)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63228D #4C8D22
analogous
#2E228D #63228D #8D2282
triadic
#63228D #8D6322 #228D63
tetradic
#63228D #8D2E22 #4C8D22 #22828D
square
#63228D #8D2E22 #4C8D22 #22828D
split-complementary
#63228D #828D22 #228D2E
monochromatic
#1E0A2A #40165C #63228D #862EBE #A354D6

Accessibility & contrast

On white

9.79
#63228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#63228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63228D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63228D#FFFFFF#000000##FFFFFF
##63228D1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#5C3B56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #63228d;
/* rgb */ color: rgb(99, 34, 141);
/* oklch */ color: oklch(40.7% 0.168 308.2);
Tailwind
colors: {
  custom: {
    50: '#9464af',
    500: '#63228d',
    950: '#000000',
  },
}
SCSS
$custom: #63228d;
$custom-light: #9464af;
$custom-dark: #000000;
JSON
{
  "hex": "#63228d",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 276.449,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.16841,
    "h": 308.2
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#63228D
secondary
#7AB951
accent
#E44483
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63228D

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

Preview Lab → · Contrast checker → · Palette generator →

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