#33208D#33208D

#33208D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.168 H 281.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#33208D
RGBrgb(51, 32, 141)
HSLhsl(250, 63%, 34%)
HSVhsv(250, 77%, 55%)
CMYKcmyk(63.8%, 77.3%, 0%, 44.7%)
CIE-LABlab(22.51, 40.42, -56.96)
CIE-LCHlch(22.51, 69.84, 305.36°)
OKLaboklab(34.99% 0.0328 -0.1643)
OKLCHoklch(34.99% 0.168 281.3)
XYZxyz(6.6880, 3.6594, 25.5480)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33208D #7A8D20
analogous
#20448D #33208D #6A208D
triadic
#33208D #8D3320 #208D33
tetradic
#33208D #8D2044 #7A8D20 #208D6A
square
#33208D #8D2044 #7A8D20 #208D6A
split-complementary
#33208D #8D6A20 #448D20
monochromatic
#0F0929 #21155B #33208D #452BBF #6850D7

Accessibility & contrast

On white

12.12
#33208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#33208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33208D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33208D#FFFFFF#000000##FFFFFF
##33208D1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33208d;
/* rgb */ color: rgb(51, 32, 141);
/* oklch */ color: oklch(35.0% 0.168 281.3);
Tailwind
colors: {
  custom: {
    50: '#775eaf',
    500: '#33208d',
    950: '#000000',
  },
}
SCSS
$custom: #33208d;
$custom-light: #775eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#33208d",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 250.459,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34985,
    "c": 0.16756,
    "h": 281.3
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#33208D
secondary
#A8BA4E
accent
#E642C9
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #33208D

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

Preview Lab → · Contrast checker → · Palette generator →

#33208D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva