#63228E#63228E

#63228E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.169 H 307.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#63228E
RGBrgb(99, 34, 142)
HSLhsl(276, 61%, 35%)
HSVhsv(276, 76%, 56%)
CMYKcmyk(30.3%, 76.1%, 0%, 44.3%)
CIE-LABlab(28.77, 47.68, -47.10)
CIE-LCHlch(28.77, 67.02, 315.35°)
OKLaboklab(40.73% 0.104 -0.1337)
OKLCHoklch(40.73% 0.169 307.9)
XYZxyz(10.5991, 5.7499, 26.1374)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63228E #4D8E22
analogous
#2D228E #63228E #8E2283
triadic
#63228E #8E6322 #228E63
tetradic
#63228E #8E2D22 #4D8E22 #22838E
square
#63228E #8E2D22 #4D8E22 #22838E
split-complementary
#63228E #838E22 #228E2D
monochromatic
#1E0A2B #41165D #63228E #852EBF #A254D6

Accessibility & contrast

On white

9.77
#63228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#63228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63228E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63228E#FFFFFF#000000##FFFFFF
##63228E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#5C3C56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #63228e;
/* rgb */ color: rgb(99, 34, 142);
/* oklch */ color: oklch(40.7% 0.169 307.9);
Tailwind
colors: {
  custom: {
    50: '#9464b0',
    500: '#63228e',
    950: '#000000',
  },
}
SCSS
$custom: #63228e;
$custom-light: #9464b0;
$custom-dark: #000000;
JSON
{
  "hex": "#63228e",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 276.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.16943,
    "h": 307.9
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#63228E
secondary
#7BBA52
accent
#E44383
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63228E

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

Preview Lab → · Contrast checker → · Palette generator →

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