#63228F#63228F

#63228F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.170 H 307.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#63228F
RGBrgb(99, 34, 143)
HSLhsl(276, 62%, 35%)
HSVhsv(276, 76%, 56%)
CMYKcmyk(30.8%, 76.2%, 0%, 43.9%)
CIE-LABlab(28.85, 47.91, -47.60)
CIE-LCHlch(28.85, 67.54, 315.19°)
OKLaboklab(40.81% 0.1038 -0.1352)
OKLCHoklch(40.81% 0.17 307.5)
XYZxyz(10.6745, 5.7800, 26.5346)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63228F #4E8F22
analogous
#2D228F #63228F #8F2285
triadic
#63228F #8F6322 #228F63
tetradic
#63228F #8F2D22 #4E8F22 #22858F
square
#63228F #8F2D22 #4E8F22 #22858F
split-complementary
#63228F #858F22 #228F2D
monochromatic
#1F0A2C #41165E #63228F #852EC0 #A255D7

Accessibility & contrast

On white

9.74
#63228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#63228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63228F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63228F#FFFFFF#000000##FFFFFF
##63228F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5C3C57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #63228f;
/* rgb */ color: rgb(99, 34, 143);
/* oklch */ color: oklch(40.8% 0.170 307.5);
Tailwind
colors: {
  custom: {
    50: '#9464b1',
    500: '#63228f',
    950: '#000000',
  },
}
SCSS
$custom: #63228f;
$custom-light: #9464b1;
$custom-dark: #000000;
JSON
{
  "hex": "#63228f",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 275.78,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40813,
    "c": 0.17046,
    "h": 307.5
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#63228F
secondary
#7CBA52
accent
#E54384
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #63228F

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

Preview Lab → · Contrast checker → · Palette generator →

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