#63229D#63229D

#63229D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.185 H 303.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#63229D
RGBrgb(99, 34, 157)
HSLhsl(272, 64%, 37%)
HSVhsv(272, 78%, 62%)
CMYKcmyk(36.9%, 78.3%, 0%, 38.4%)
CIE-LABlab(29.99, 51.22, -54.33)
CIE-LCHlch(29.99, 74.67, 313.31°)
OKLaboklab(41.97% 0.1006 -0.155)
OKLCHoklch(41.97% 0.185 303)
XYZxyz(11.8020, 6.2310, 32.4727)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63229D #5C9D22
analogous
#25229D #63229D #9D229A
triadic
#63229D #9D6322 #229D63
tetradic
#63229D #9D2522 #5C9D22 #229A9D
square
#63229D #9D2522 #5C9D22 #229A9D
split-complementary
#63229D #9A9D22 #229D25
monochromatic
#240C38 #43176B #63229D #832DCF #A05DDC

Accessibility & contrast

On white

9.35
#63229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #63229D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63229D#FFFFFF#000000##FFFFFF
##63229D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#57425F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #63229d;
/* rgb */ color: rgb(99, 34, 157);
/* oklch */ color: oklch(42.0% 0.185 303.0);
Tailwind
colors: {
  custom: {
    50: '#9565bb',
    500: '#63229d',
    950: '#000000',
  },
}
SCSS
$custom: #63229d;
$custom-light: #9565bb;
$custom-dark: #000000;
JSON
{
  "hex": "#63229d",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 271.707,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.18476,
    "h": 303
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#63229D
secondary
#8AC15A
accent
#E7408F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #63229D

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

Preview Lab → · Contrast checker → · Palette generator →

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