#63229F#63229F

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

Color values

HEX#63229F
RGBrgb(99, 34, 159)
HSLhsl(271, 65%, 38%)
HSVhsv(271, 79%, 62%)
CMYKcmyk(37.7%, 78.6%, 0%, 37.6%)
CIE-LABlab(30.16, 51.70, -55.27)
CIE-LCHlch(30.16, 75.69, 313.09°)
OKLaboklab(42.14% 0.1001 -0.1578)
OKLCHoklch(42.14% 0.187 302.4)
XYZxyz(11.9741, 6.2999, 33.3793)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#63229F #5E9F22
analogous
#24229F #63229F #9F229C
triadic
#63229F #9F6322 #229F63
tetradic
#63229F #9F2422 #5E9F22 #229C9F
square
#63229F #9F2422 #5E9F22 #229C9F
split-complementary
#63229F #9C9F22 #229F24
monochromatic
#240C3A #44176D #63229F #822DD1 #A05FDD

Accessibility & contrast

On white

9.29
#63229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#63229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #63229F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##63229F#FFFFFF#000000##FFFFFF
##63229F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#564360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #63229f;
/* rgb */ color: rgb(99, 34, 159);
/* oklch */ color: oklch(42.1% 0.187 302.4);
Tailwind
colors: {
  custom: {
    50: '#9565bc',
    500: '#63229f',
    950: '#000000',
  },
}
SCSS
$custom: #63229f;
$custom-light: #9565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#63229f",
  "rgb": {
    "r": 99,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 271.2,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.18681,
    "h": 302.4
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#63229F
secondary
#8CC15B
accent
#E84091
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #63229F

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

Preview Lab → · Contrast checker → · Palette generator →

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