#33199D#33199D

#33199D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.193 H 279.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#33199D
RGBrgb(51, 25, 157)
HSLhsl(252, 73%, 36%)
HSVhsv(252, 84%, 62%)
CMYKcmyk(67.5%, 84.1%, 0%, 38.4%)
CIE-LABlab(23.11, 48.67, -65.85)
CIE-LCHlch(23.11, 81.88, 306.47°)
OKLaboklab(35.92% 0.0318 -0.1901)
OKLCHoklch(35.92% 0.193 279.5)
XYZxyz(7.7967, 3.8327, 32.2207)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33199D #839D19
analogous
#19419D #33199D #75199D
triadic
#33199D #9D3319 #199D33
tetradic
#33199D #9D1941 #839D19 #199D75
square
#33199D #9D1941 #839D19 #199D75
split-complementary
#33199D #9D7519 #419D19
monochromatic
#110833 #221168 #33199D #4421D2 #6B4EE3

Accessibility & contrast

On white

11.89
#33199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33199D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33199D#FFFFFF#000000##FFFFFF
##33199D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33199d;
/* rgb */ color: rgb(51, 25, 157);
/* oklch */ color: oklch(35.9% 0.193 279.5);
Tailwind
colors: {
  custom: {
    50: '#7b5cbb',
    500: '#33199d',
    950: '#000000',
  },
}
SCSS
$custom: #33199d;
$custom-light: #7b5cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#33199d",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 251.818,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35924,
    "c": 0.19275,
    "h": 279.5
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#33199D
secondary
#ADC54D
accent
#EF39CB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33199D

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

Preview Lab → · Contrast checker → · Palette generator →

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