#33207B#33207B

#33207B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.145 H 284.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#33207B
RGBrgb(51, 32, 123)
HSLhsl(253, 59%, 30%)
HSVhsv(253, 74%, 48%)
CMYKcmyk(58.5%, 74%, 0%, 51.8%)
CIE-LABlab(20.70, 34.69, -48.60)
CIE-LCHlch(20.70, 59.71, 305.52°)
OKLaboklab(33.15% 0.0372 -0.1399)
OKLCHoklch(33.15% 0.145 284.9)
XYZxyz(5.4558, 3.1666, 19.0588)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33207B #687B20
analogous
#203B7B #33207B #60207B
triadic
#33207B #7B3320 #207B33
tetradic
#33207B #7B203B #687B20 #207B60
square
#33207B #7B203B #687B20 #207B60
split-complementary
#33207B #7B6020 #3B7B20
monochromatic
#0B071A #1F134A #33207B #472DAC #6346CF

Accessibility & contrast

On white

12.86
#33207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#33207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33207B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33207B#FFFFFF#000000##FFFFFF
##33207B1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#10384B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33207b;
/* rgb */ color: rgb(51, 32, 123);
/* oklch */ color: oklch(33.2% 0.145 284.9);
Tailwind
colors: {
  custom: {
    50: '#735da2',
    500: '#33207b',
    950: '#000000',
  },
}
SCSS
$custom: #33207b;
$custom-light: #735da2;
$custom-dark: #000000;
JSON
{
  "hex": "#33207b",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 252.527,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33154,
    "c": 0.14474,
    "h": 284.9
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#33207B
secondary
#99AE49
accent
#E246C1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33207B

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

Preview Lab → · Contrast checker → · Palette generator →

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