#63228C#63228C

#63228C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.167 H 308.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#63228C
RGBrgb(99, 34, 140)
HSLhsl(277, 61%, 34%)
HSVhsv(277, 76%, 55%)
CMYKcmyk(29.3%, 75.7%, 0%, 45.1%)
CIE-LABlab(28.62, 47.22, -46.12)
CIE-LCHlch(28.62, 66.00, 315.68°)
OKLaboklab(40.58% 0.1044 -0.1308)
OKLCHoklch(40.58% 0.167 308.6)
XYZxyz(10.4503, 5.6903, 25.3537)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63228C #4B8C22
analogous
#2E228C #63228C #8C2280
triadic
#63228C #8C6322 #228C63
tetradic
#63228C #8C2E22 #4B8C22 #22808C
square
#63228C #8C2E22 #4B8C22 #22808C
split-complementary
#63228C #808C22 #228C2E
monochromatic
#1D0A2A #40165B #63228C #862EBD #A353D5

Accessibility & contrast

On white

9.82
#63228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63228C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63228C#FFFFFF#000000##FFFFFF
##63228C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#5D3B55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #63228c;
/* rgb */ color: rgb(99, 34, 140);
/* oklch */ color: oklch(40.6% 0.167 308.6);
Tailwind
colors: {
  custom: {
    50: '#9464ae',
    500: '#63228c',
    950: '#000000',
  },
}
SCSS
$custom: #63228c;
$custom-light: #9464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#63228c",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 276.792,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.16739,
    "h": 308.6
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#63228C
secondary
#79B951
accent
#E44482
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #63228C

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

Preview Lab → · Contrast checker → · Palette generator →

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