#33216A#33216A

#33216A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.121 H 288.9°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#33216A
RGBrgb(51, 33, 106)
HSLhsl(255, 53%, 27%)
HSVhsv(255, 69%, 42%)
CMYKcmyk(51.9%, 68.9%, 0%, 58.4%)
CIE-LABlab(19.36, 28.61, -39.84)
CIE-LCHlch(19.36, 49.05, 305.68°)
OKLaboklab(31.71% 0.0392 -0.1142)
OKLCHoklch(31.71% 0.121 288.9)
XYZxyz(4.5099, 2.8319, 13.9419)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33216A #586A21
analogous
#21336A #33216A #58216A
triadic
#33216A #6A3321 #216A33
tetradic
#33216A #6A2133 #586A21 #216A58
square
#33216A #6A2133 #586A21 #216A58
split-complementary
#33216A #6A5821 #336A21
monochromatic
#0B0717 #1D123B #33216A #493099 #6241C4

Accessibility & contrast

On white

13.41
#33216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33216A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33216A#FFFFFF#000000##FFFFFF
##33216A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#203342
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33216a;
/* rgb */ color: rgb(51, 33, 106);
/* oklch */ color: oklch(31.7% 0.121 288.9);
Tailwind
colors: {
  custom: {
    50: '#705d95',
    500: '#33216a',
    950: '#000000',
  },
}
SCSS
$custom: #33216a;
$custom-light: #705d95;
$custom-dark: #000000;
JSON
{
  "hex": "#33216a",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 254.795,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3171,
    "c": 0.12072,
    "h": 288.9
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#33216A
secondary
#899E49
accent
#DC4CB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #33216A

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

Preview Lab → · Contrast checker → · Palette generator →

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