#33216F#33216F

#33216F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.128 H 287.6°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#33216F
RGBrgb(51, 33, 111)
HSLhsl(254, 54%, 28%)
HSVhsv(254, 70%, 44%)
CMYKcmyk(54.1%, 70.3%, 0%, 56.5%)
CIE-LABlab(19.80, 30.22, -42.37)
CIE-LCHlch(19.80, 52.05, 305.50°)
OKLaboklab(32.17% 0.0385 -0.1216)
OKLCHoklch(32.17% 0.128 287.6)
XYZxyz(4.7775, 2.9390, 15.3514)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33216F #5D6F21
analogous
#21366F #33216F #5A216F
triadic
#33216F #6F3321 #216F33
tetradic
#33216F #6F2136 #5D6F21 #216F5A
square
#33216F #6F2136 #5D6F21 #216F5A
split-complementary
#33216F #6F5A21 #366F21
monochromatic
#0B0718 #1D1340 #33216F #492F9E #6243C7

Accessibility & contrast

On white

13.23
#33216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#33216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33216F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33216F#FFFFFF#000000##FFFFFF
##33216F1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#1D3545
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33216f;
/* rgb */ color: rgb(51, 33, 111);
/* oklch */ color: oklch(32.2% 0.128 287.6);
Tailwind
colors: {
  custom: {
    50: '#715d99',
    500: '#33216f',
    950: '#000000',
  },
}
SCSS
$custom: #33216f;
$custom-light: #715d99;
$custom-dark: #000000;
JSON
{
  "hex": "#33216f",
  "rgb": {
    "r": 51,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 253.846,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32165,
    "c": 0.12756,
    "h": 287.6
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#33216F
secondary
#8EA349
accent
#DE4ABC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #33216F

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

Preview Lab → · Contrast checker → · Palette generator →

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