#63229E#63229E

#63229E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.186 H 302.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#63229E
RGBrgb(99, 34, 158)
HSLhsl(271, 65%, 38%)
HSVhsv(271, 78%, 62%)
CMYKcmyk(37.3%, 78.5%, 0%, 38%)
CIE-LABlab(30.07, 51.46, -54.81)
CIE-LCHlch(30.07, 75.18, 313.20°)
OKLaboklab(42.05% 0.1003 -0.1564)
OKLCHoklch(42.05% 0.186 302.7)
XYZxyz(11.8877, 6.2653, 32.9242)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63229E #5D9E22
analogous
#25229E #63229E #9E229B
triadic
#63229E #9E6322 #229E63
tetradic
#63229E #9E2522 #5D9E22 #229B9E
square
#63229E #9E2522 #5D9E22 #229B9E
split-complementary
#63229E #9B9E22 #229E25
monochromatic
#240C39 #43176C #63229E #832DD0 #A05EDC

Accessibility & contrast

On white

9.32
#63229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#63229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63229E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63229E#FFFFFF#000000##FFFFFF
##63229E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#57435F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #63229e;
/* rgb */ color: rgb(99, 34, 158);
/* oklch */ color: oklch(42.1% 0.186 302.7);
Tailwind
colors: {
  custom: {
    50: '#9565bc',
    500: '#63229e',
    950: '#000000',
  },
}
SCSS
$custom: #63229e;
$custom-light: #9565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#63229e",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 271.452,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.18579,
    "h": 302.7
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#63229E
secondary
#8BC15B
accent
#E84090
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #63229E

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

Preview Lab → · Contrast checker → · Palette generator →

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