#33208A#33208A

#33208A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.164 H 281.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#33208A
RGBrgb(51, 32, 138)
HSLhsl(251, 62%, 33%)
HSVhsv(251, 77%, 54%)
CMYKcmyk(63%, 76.8%, 0%, 45.9%)
CIE-LABlab(22.20, 39.47, -55.60)
CIE-LCHlch(22.20, 68.19, 305.37°)
OKLaboklab(34.67% 0.0336 -0.1603)
OKLCHoklch(34.67% 0.164 281.8)
XYZxyz(6.4678, 3.5713, 24.3883)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33208A #778A20
analogous
#20428A #33208A #68208A
triadic
#33208A #8A3320 #208A33
tetradic
#33208A #8A2042 #778A20 #208A68
square
#33208A #8A2042 #778A20 #208A68
split-complementary
#33208A #8A6820 #428A20
monochromatic
#0E0927 #211458 #33208A #452CBC #674ED6

Accessibility & contrast

On white

12.25
#33208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#33208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33208A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33208A#FFFFFF#000000##FFFFFF
##33208A1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #33208a;
/* rgb */ color: rgb(51, 32, 138);
/* oklch */ color: oklch(34.7% 0.164 281.8);
Tailwind
colors: {
  custom: {
    50: '#765ead',
    500: '#33208a',
    950: '#000000',
  },
}
SCSS
$custom: #33208a;
$custom-light: #765ead;
$custom-dark: #000000;
JSON
{
  "hex": "#33208a",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 250.755,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.16383,
    "h": 281.8
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#33208A
secondary
#A6B94D
accent
#E542C8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #33208A

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

Preview Lab → · Contrast checker → · Palette generator →

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