#33216E#33216E

#33216E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.126 H 287.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#33216E
RGBrgb(51, 33, 110)
HSLhsl(254, 54%, 28%)
HSVhsv(254, 70%, 43%)
CMYKcmyk(53.6%, 70%, 0%, 56.9%)
CIE-LABlab(19.71, 29.90, -41.87)
CIE-LCHlch(19.71, 51.45, 305.53°)
OKLaboklab(32.07% 0.0386 -0.1201)
OKLCHoklch(32.07% 0.126 287.8)
XYZxyz(4.7227, 2.9171, 15.0630)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33216E #5C6E21
analogous
#21356E #33216E #59216E
triadic
#33216E #6E3321 #216E33
tetradic
#33216E #6E2135 #5C6E21 #216E59
square
#33216E #6E2135 #5C6E21 #216E59
split-complementary
#33216E #6E5921 #356E21
monochromatic
#0B0718 #1D133F #33216E #492F9D #6243C7

Accessibility & contrast

On white

13.26
#33216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#33216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33216E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33216E#FFFFFF#000000##FFFFFF
##33216E1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#1D3444
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33216e;
/* rgb */ color: rgb(51, 33, 110);
/* oklch */ color: oklch(32.1% 0.126 287.8);
Tailwind
colors: {
  custom: {
    50: '#715d98',
    500: '#33216e',
    950: '#000000',
  },
}
SCSS
$custom: #33216e;
$custom-light: #715d98;
$custom-dark: #000000;
JSON
{
  "hex": "#33216e",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 254.026,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.1262,
    "h": 287.8
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#33216E
secondary
#8DA249
accent
#DD4BBB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #33216E

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

Preview Lab → · Contrast checker → · Palette generator →

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