#33207D#33207D

#33207D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.147 H 284.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#33207D
RGBrgb(51, 32, 125)
HSLhsl(252, 59%, 31%)
HSVhsv(252, 74%, 49%)
CMYKcmyk(59.2%, 74.4%, 0%, 51%)
CIE-LABlab(20.89, 35.33, -49.56)
CIE-LCHlch(20.89, 60.86, 305.49°)
OKLaboklab(33.35% 0.0368 -0.1427)
OKLCHoklch(33.35% 0.147 284.4)
XYZxyz(5.5823, 3.2172, 19.7249)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33207D #6A7D20
analogous
#203B7D #33207D #61207D
triadic
#33207D #7D3320 #207D33
tetradic
#33207D #7D203B #6A7D20 #207D61
square
#33207D #7D203B #6A7D20 #207D61
split-complementary
#33207D #7D6120 #3B7D20
monochromatic
#0B071C #1F144C #33207D #472CAE #6347D0

Accessibility & contrast

On white

12.78
#33207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#33207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33207D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33207D#FFFFFF#000000##FFFFFF
##33207D1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#0C394C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33207d;
/* rgb */ color: rgb(51, 32, 125);
/* oklch */ color: oklch(33.4% 0.147 284.4);
Tailwind
colors: {
  custom: {
    50: '#745da4',
    500: '#33207d',
    950: '#000000',
  },
}
SCSS
$custom: #33207d;
$custom-light: #745da4;
$custom-dark: #000000;
JSON
{
  "hex": "#33207d",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 252.258,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33352,
    "c": 0.14734,
    "h": 284.4
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#33207D
secondary
#9BB049
accent
#E245C2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33207D

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

Preview Lab → · Contrast checker → · Palette generator →

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