#33199E#33199E

#33199E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.194 H 279.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#33199E
RGBrgb(51, 25, 158)
HSLhsl(252, 73%, 36%)
HSVhsv(252, 84%, 62%)
CMYKcmyk(67.7%, 84.2%, 0%, 38%)
CIE-LABlab(23.23, 48.96, -66.26)
CIE-LCHlch(23.23, 82.39, 306.46°)
OKLaboklab(36.04% 0.0315 -0.1913)
OKLCHoklch(36.04% 0.194 279.3)
XYZxyz(7.8825, 3.8670, 32.6721)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33199E #849E19
analogous
#19419E #33199E #75199E
triadic
#33199E #9E3319 #199E33
tetradic
#33199E #9E1941 #849E19 #199E75
square
#33199E #9E1941 #849E19 #199E75
split-complementary
#33199E #9E7519 #419E19
monochromatic
#110834 #221169 #33199E #4421D3 #6B4EE3

Accessibility & contrast

On white

11.84
#33199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#33199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33199E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33199E#FFFFFF#000000##FFFFFF
##33199E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33199e;
/* rgb */ color: rgb(51, 25, 158);
/* oklch */ color: oklch(36.0% 0.194 279.3);
Tailwind
colors: {
  custom: {
    50: '#7b5cbc',
    500: '#33199e',
    950: '#000000',
  },
}
SCSS
$custom: #33199e;
$custom-light: #7b5cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33199e",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 251.729,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.19389,
    "h": 279.3
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#33199E
secondary
#AEC54E
accent
#EF38CC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33199E

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

Preview Lab → · Contrast checker → · Palette generator →

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