#33199A#33199A

#33199A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.189 H 280.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#33199A
RGBrgb(51, 25, 154)
HSLhsl(252, 72%, 35%)
HSVhsv(252, 84%, 60%)
CMYKcmyk(66.9%, 83.8%, 0%, 39.6%)
CIE-LABlab(22.76, 47.79, -64.58)
CIE-LCHlch(22.76, 80.34, 306.50°)
OKLaboklab(35.58% 0.0328 -0.1864)
OKLCHoklch(35.58% 0.189 280)
XYZxyz(7.5438, 3.7315, 30.8883)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33199A #809A19
analogous
#193F9A #33199A #73199A
triadic
#33199A #9A3319 #199A33
tetradic
#33199A #9A193F #809A19 #199A73
square
#33199A #9A193F #809A19 #199A73
split-complementary
#33199A #9A7319 #3F9A19
monochromatic
#100831 #221065 #33199A #4422CF #6A4CE2

Accessibility & contrast

On white

12.02
#33199A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#33199A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33199A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33199A#FFFFFF#000000##FFFFFF
##33199A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33199a;
/* rgb */ color: rgb(51, 25, 154);
/* oklch */ color: oklch(35.6% 0.189 280.0);
Tailwind
colors: {
  custom: {
    50: '#7a5bb9',
    500: '#33199a',
    950: '#000000',
  },
}
SCSS
$custom: #33199a;
$custom-light: #7a5bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#33199a",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 154
  },
  "hsl": {
    "h": 252.093,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35583,
    "c": 0.1893,
    "h": 280
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#33199A
secondary
#ABC44B
accent
#EF39CA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33199A

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

Preview Lab → · Contrast checker → · Palette generator →

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