#33216C#33216C

#33216C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 31.9% C 0.123 H 288.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#33216C
RGBrgb(51, 33, 108)
HSLhsl(254, 53%, 28%)
HSVhsv(254, 69%, 42%)
CMYKcmyk(52.8%, 69.4%, 0%, 57.6%)
CIE-LABlab(19.53, 29.26, -40.86)
CIE-LCHlch(19.53, 50.25, 305.60°)
OKLaboklab(31.89% 0.0389 -0.1172)
OKLCHoklch(31.89% 0.123 288.4)
XYZxyz(4.6151, 2.8740, 14.4960)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33216C #5A6C21
analogous
#21356C #33216C #58216C
triadic
#33216C #6C3321 #216C33
tetradic
#33216C #6C2135 #5A6C21 #216C58
square
#33216C #6C2135 #5A6C21 #216C58
split-complementary
#33216C #6C5821 #356C21
monochromatic
#0B0717 #1D133D #33216C #492F9B #6242C5

Accessibility & contrast

On white

13.34
#33216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#33216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33216C
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33216C#FFFFFF#000000##FFFFFF
##33216C1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#1F3343
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33216c;
/* rgb */ color: rgb(51, 33, 108);
/* oklch */ color: oklch(31.9% 0.123 288.4);
Tailwind
colors: {
  custom: {
    50: '#715d97',
    500: '#33216c',
    950: '#000000',
  },
}
SCSS
$custom: #33216c;
$custom-light: #715d97;
$custom-dark: #000000;
JSON
{
  "hex": "#33216c",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 254.4,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31891,
    "c": 0.12347,
    "h": 288.4
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#33216C
secondary
#8BA049
accent
#DD4BBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #33216C

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

Preview Lab → · Contrast checker → · Palette generator →

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