#63228A#63228A

#63228A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.165 H 309.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#63228A
RGBrgb(99, 34, 138)
HSLhsl(278, 60%, 34%)
HSVhsv(278, 75%, 54%)
CMYKcmyk(28.3%, 75.4%, 0%, 45.9%)
CIE-LABlab(28.46, 46.76, -45.12)
CIE-LCHlch(28.46, 64.98, 316.02°)
OKLaboklab(40.42% 0.1048 -0.1279)
OKLCHoklch(40.42% 0.165 309.3)
XYZxyz(10.3041, 5.6319, 24.5841)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63228A #498A22
analogous
#2F228A #63228A #8A227D
triadic
#63228A #8A6322 #228A63
tetradic
#63228A #8A2F22 #498A22 #227D8A
square
#63228A #8A2F22 #498A22 #227D8A
split-complementary
#63228A #7D8A22 #228A2F
monochromatic
#1D0A28 #401659 #63228A #862EBB #A352D4

Accessibility & contrast

On white

9.88
#63228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63228A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63228A#FFFFFF#000000##FFFFFF
##63228A1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#054488
Tritanopia (blue-blind)
#5D3A54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #63228a;
/* rgb */ color: rgb(99, 34, 138);
/* oklch */ color: oklch(40.4% 0.165 309.3);
Tailwind
colors: {
  custom: {
    50: '#9464ad',
    500: '#63228a',
    950: '#000000',
  },
}
SCSS
$custom: #63228a;
$custom-light: #9464ad;
$custom-dark: #000000;
JSON
{
  "hex": "#63228a",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 277.5,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40419,
    "c": 0.16535,
    "h": 309.3
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#63228A
secondary
#77B850
accent
#E44480
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63228A

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

Preview Lab → · Contrast checker → · Palette generator →

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