#33208B#33208B

#33208B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.165 H 281.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#33208B
RGBrgb(51, 32, 139)
HSLhsl(251, 63%, 34%)
HSVhsv(251, 77%, 55%)
CMYKcmyk(63.3%, 77%, 0%, 45.5%)
CIE-LABlab(22.30, 39.79, -56.05)
CIE-LCHlch(22.30, 68.74, 305.37°)
OKLaboklab(34.78% 0.0334 -0.1617)
OKLCHoklch(34.78% 0.165 281.7)
XYZxyz(6.5405, 3.6004, 24.7714)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33208B #788B20
analogous
#20428B #33208B #68208B
triadic
#33208B #8B3320 #208B33
tetradic
#33208B #8B2042 #788B20 #208B68
square
#33208B #8B2042 #788B20 #208B68
split-complementary
#33208B #8B6820 #428B20
monochromatic
#0E0928 #211559 #33208B #452BBD #674FD6

Accessibility & contrast

On white

12.21
#33208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#33208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33208B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33208B#FFFFFF#000000##FFFFFF
##33208B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #33208b;
/* rgb */ color: rgb(51, 32, 139);
/* oklch */ color: oklch(34.8% 0.165 281.7);
Tailwind
colors: {
  custom: {
    50: '#775eae',
    500: '#33208b',
    950: '#000000',
  },
}
SCSS
$custom: #33208b;
$custom-light: #775eae;
$custom-dark: #000000;
JSON
{
  "hex": "#33208b",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 250.654,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34776,
    "c": 0.16507,
    "h": 281.7
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#33208B
secondary
#A6BA4D
accent
#E642C9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #33208B

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

Preview Lab → · Contrast checker → · Palette generator →

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