#33208F#33208F

#33208F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.170 H 281.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#33208F
RGBrgb(51, 32, 143)
HSLhsl(250, 63%, 34%)
HSVhsv(250, 78%, 56%)
CMYKcmyk(64.3%, 77.6%, 0%, 43.9%)
CIE-LABlab(22.72, 41.05, -57.86)
CIE-LCHlch(22.72, 70.94, 305.36°)
OKLaboklab(35.2% 0.0323 -0.1669)
OKLCHoklch(35.2% 0.17 281)
XYZxyz(6.8381, 3.7195, 26.3389)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33208F #7C8F20
analogous
#20458F #33208F #6B208F
triadic
#33208F #8F3320 #208F33
tetradic
#33208F #8F2045 #7C8F20 #208F6B
square
#33208F #8F2045 #7C8F20 #208F6B
split-complementary
#33208F #8F6B20 #458F20
monochromatic
#0F0A2B #21155D #33208F #452BC1 #6851D8

Accessibility & contrast

On white

12.04
#33208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#33208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33208F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33208F#FFFFFF#000000##FFFFFF
##33208F1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33208f;
/* rgb */ color: rgb(51, 32, 143);
/* oklch */ color: oklch(35.2% 0.170 281.0);
Tailwind
colors: {
  custom: {
    50: '#775eb1',
    500: '#33208f',
    950: '#000000',
  },
}
SCSS
$custom: #33208f;
$custom-light: #775eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#33208f",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 250.27,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35195,
    "c": 0.17004,
    "h": 281
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#33208F
secondary
#A9BB4F
accent
#E641CA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #33208F

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

Preview Lab → · Contrast checker → · Palette generator →

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