#33199C#33199C

#33199C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.192 H 279.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#33199C
RGBrgb(51, 25, 156)
HSLhsl(252, 72%, 35%)
HSVhsv(252, 84%, 61%)
CMYKcmyk(67.3%, 84%, 0%, 38.8%)
CIE-LABlab(22.99, 48.38, -65.42)
CIE-LCHlch(22.99, 81.37, 306.48°)
OKLaboklab(35.81% 0.0322 -0.1889)
OKLCHoklch(35.81% 0.192 279.7)
XYZxyz(7.7117, 3.7987, 31.7729)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33199C #829C19
analogous
#19419C #33199C #74199C
triadic
#33199C #9C3319 #199C33
tetradic
#33199C #9C1941 #829C19 #199C74
square
#33199C #9C1941 #829C19 #199C74
split-complementary
#33199C #9C7419 #419C19
monochromatic
#110833 #221167 #33199C #4421D1 #6B4DE2

Accessibility & contrast

On white

11.93
#33199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#33199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33199C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33199C#FFFFFF#000000##FFFFFF
##33199C1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33199c;
/* rgb */ color: rgb(51, 25, 156);
/* oklch */ color: oklch(35.8% 0.192 279.7);
Tailwind
colors: {
  custom: {
    50: '#7b5cbb',
    500: '#33199c',
    950: '#000000',
  },
}
SCSS
$custom: #33199c;
$custom-light: #7b5cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#33199c",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 251.908,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3581,
    "c": 0.19161,
    "h": 279.7
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33199C

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

Preview Lab → · Contrast checker → · Palette generator →

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