#33199B#33199B

#33199B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.190 H 279.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#33199B
RGBrgb(51, 25, 155)
HSLhsl(252, 72%, 35%)
HSVhsv(252, 84%, 61%)
CMYKcmyk(67.1%, 83.9%, 0%, 39.2%)
CIE-LABlab(22.88, 48.09, -65.00)
CIE-LCHlch(22.88, 80.86, 306.49°)
OKLaboklab(35.7% 0.0325 -0.1877)
OKLCHoklch(35.7% 0.19 279.8)
XYZxyz(7.6274, 3.7650, 31.3288)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33199B #819B19
analogous
#19409B #33199B #74199B
triadic
#33199B #9B3319 #199B33
tetradic
#33199B #9B1940 #819B19 #199B74
square
#33199B #9B1940 #819B19 #199B74
split-complementary
#33199B #9B7419 #409B19
monochromatic
#100832 #221166 #33199B #4422D0 #6A4CE2

Accessibility & contrast

On white

11.98
#33199B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33199B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33199B#FFFFFF#000000##FFFFFF
##33199B1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33199b;
/* rgb */ color: rgb(51, 25, 155);
/* oklch */ color: oklch(35.7% 0.190 279.8);
Tailwind
colors: {
  custom: {
    50: '#7b5bba',
    500: '#33199b',
    950: '#000000',
  },
}
SCSS
$custom: #33199b;
$custom-light: #7b5bba;
$custom-dark: #000000;
JSON
{
  "hex": "#33199b",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 155
  },
  "hsl": {
    "h": 252,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35697,
    "c": 0.19045,
    "h": 279.8
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33199B

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

Preview Lab → · Contrast checker → · Palette generator →

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