#33208C#33208C

#33208C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.166 H 281.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#33208C
RGBrgb(51, 32, 140)
HSLhsl(251, 63%, 34%)
HSVhsv(251, 77%, 55%)
CMYKcmyk(63.6%, 77.1%, 0%, 45.1%)
CIE-LABlab(22.41, 40.11, -56.51)
CIE-LCHlch(22.41, 69.29, 305.37°)
OKLaboklab(34.88% 0.0331 -0.163)
OKLCHoklch(34.88% 0.166 281.5)
XYZxyz(6.6139, 3.6298, 25.1580)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33208C #798C20
analogous
#20438C #33208C #69208C
triadic
#33208C #8C3320 #208C33
tetradic
#33208C #8C2043 #798C20 #208C69
square
#33208C #8C2043 #798C20 #208C69
split-complementary
#33208C #8C6920 #438C20
monochromatic
#0F0928 #21155A #33208C #452BBE #6750D7

Accessibility & contrast

On white

12.17
#33208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33208C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33208C#FFFFFF#000000##FFFFFF
##33208C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33208c;
/* rgb */ color: rgb(51, 32, 140);
/* oklch */ color: oklch(34.9% 0.166 281.5);
Tailwind
colors: {
  custom: {
    50: '#775eaf',
    500: '#33208c',
    950: '#000000',
  },
}
SCSS
$custom: #33208c;
$custom-light: #775eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#33208c",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 250.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34881,
    "c": 0.16632,
    "h": 281.5
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#33208C
secondary
#A7BA4E
accent
#E642C9
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #33208C

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

Preview Lab → · Contrast checker → · Palette generator →

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