#33199F#33199F

#33199F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.195 H 279.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#33199F
RGBrgb(51, 25, 159)
HSLhsl(252, 73%, 36%)
HSVhsv(252, 84%, 62%)
CMYKcmyk(67.9%, 84.3%, 0%, 37.6%)
CIE-LABlab(23.34, 49.25, -66.68)
CIE-LCHlch(23.34, 82.90, 306.45°)
OKLaboklab(36.15% 0.0312 -0.1925)
OKLCHoklch(36.15% 0.195 279.2)
XYZxyz(7.9689, 3.9016, 33.1273)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33199F #859F19
analogous
#19429F #33199F #76199F
triadic
#33199F #9F3319 #199F33
tetradic
#33199F #9F1942 #859F19 #199F76
square
#33199F #9F1942 #859F19 #199F76
split-complementary
#33199F #9F7619 #429F19
monochromatic
#110835 #22116A #33199F #4421D4 #6C4FE3

Accessibility & contrast

On white

11.80
#33199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#33199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33199F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33199F#FFFFFF#000000##FFFFFF
##33199F1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #33199f;
/* rgb */ color: rgb(51, 25, 159);
/* oklch */ color: oklch(36.2% 0.195 279.2);
Tailwind
colors: {
  custom: {
    50: '#7b5cbd',
    500: '#33199f',
    950: '#000000',
  },
}
SCSS
$custom: #33199f;
$custom-light: #7b5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#33199f",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 251.642,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.19504,
    "h": 279.2
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#33199F
secondary
#AEC64E
accent
#F038CC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33199F

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

Preview Lab → · Contrast checker → · Palette generator →

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