#33207A#33207A

#33207A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.143 H 285.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#33207A
RGBrgb(51, 32, 122)
HSLhsl(253, 58%, 30%)
HSVhsv(253, 74%, 48%)
CMYKcmyk(58.2%, 73.8%, 0%, 52.2%)
CIE-LABlab(20.60, 34.37, -48.12)
CIE-LCHlch(20.60, 59.14, 305.53°)
OKLaboklab(33.06% 0.0374 -0.1385)
OKLCHoklch(33.06% 0.143 285.1)
XYZxyz(5.3935, 3.1417, 18.7308)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33207A #677A20
analogous
#203A7A #33207A #60207A
triadic
#33207A #7A3320 #207A33
tetradic
#33207A #7A203A #677A20 #207A60
square
#33207A #7A203A #677A20 #207A60
split-complementary
#33207A #7A6020 #3A7A20
monochromatic
#0A0719 #1F134A #33207A #472DAA #6346CE

Accessibility & contrast

On white

12.90
#33207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33207A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33207A#FFFFFF#000000##FFFFFF
##33207A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#11384A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33207a;
/* rgb */ color: rgb(51, 32, 122);
/* oklch */ color: oklch(33.1% 0.143 285.1);
Tailwind
colors: {
  custom: {
    50: '#735da1',
    500: '#33207a',
    950: '#000000',
  },
}
SCSS
$custom: #33207a;
$custom-light: #735da1;
$custom-dark: #000000;
JSON
{
  "hex": "#33207a",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 252.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33056,
    "c": 0.14344,
    "h": 285.1
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#33207A
secondary
#98AD49
accent
#E246C1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33207A

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

Preview Lab → · Contrast checker → · Palette generator →

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