#33207E#33207E

#33207E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.149 H 284.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#33207E
RGBrgb(51, 32, 126)
HSLhsl(252, 59%, 31%)
HSVhsv(252, 75%, 49%)
CMYKcmyk(59.5%, 74.6%, 0%, 50.6%)
CIE-LABlab(20.99, 35.65, -50.03)
CIE-LCHlch(20.99, 61.43, 305.47°)
OKLaboklab(33.45% 0.0365 -0.1441)
OKLCHoklch(33.45% 0.149 284.2)
XYZxyz(5.6465, 3.2428, 20.0630)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33207E #6B7E20
analogous
#203C7E #33207E #62207E
triadic
#33207E #7E3320 #207E33
tetradic
#33207E #7E203C #6B7E20 #207E62
square
#33207E #7E203C #6B7E20 #207E62
split-complementary
#33207E #7E6220 #3C7E20
monochromatic
#0B071C #1F144D #33207E #472CAF #6448D0

Accessibility & contrast

On white

12.74
#33207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#33207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33207E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33207E#FFFFFF#000000##FFFFFF
##33207E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#0A3A4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #33207e;
/* rgb */ color: rgb(51, 32, 126);
/* oklch */ color: oklch(33.5% 0.149 284.2);
Tailwind
colors: {
  custom: {
    50: '#745da4',
    500: '#33207e',
    950: '#000000',
  },
}
SCSS
$custom: #33207e;
$custom-light: #745da4;
$custom-dark: #000000;
JSON
{
  "hex": "#33207e",
  "rgb": {
    "r": 51,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 252.128,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33451,
    "c": 0.14862,
    "h": 284.2
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#33207E
secondary
#9CB149
accent
#E345C3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33207E

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

Preview Lab → · Contrast checker → · Palette generator →

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