#33169D#33169D

#33169D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.195 H 279.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#33169D
RGBrgb(51, 22, 157)
HSLhsl(253, 75%, 35%)
HSVhsv(253, 86%, 62%)
CMYKcmyk(67.5%, 86%, 0%, 38.4%)
CIE-LABlab(22.69, 49.90, -66.54)
CIE-LCHlch(22.69, 83.17, 306.87°)
OKLaboklab(35.64% 0.0331 -0.1921)
OKLCHoklch(35.64% 0.195 279.8)
XYZxyz(7.7360, 3.7113, 32.2004)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33169D #809D16
analogous
#163C9D #33169D #77169D
triadic
#33169D #9D3316 #169D33
tetradic
#33169D #9D163C #809D16 #169D77
square
#33169D #9D163C #809D16 #169D77
split-complementary
#33169D #9D7716 #3C9D16
monochromatic
#100732 #220E67 #33169D #441ED3 #6A48E5

Accessibility & contrast

On white

12.05
#33169D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#33169D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33169D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33169D#FFFFFF#000000##FFFFFF
##33169D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33169d;
/* rgb */ color: rgb(51, 22, 157);
/* oklch */ color: oklch(35.6% 0.195 279.8);
Tailwind
colors: {
  custom: {
    50: '#7b5abb',
    500: '#33169d',
    950: '#000000',
  },
}
SCSS
$custom: #33169d;
$custom-light: #7b5abb;
$custom-dark: #000000;
JSON
{
  "hex": "#33169d",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 252.889,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35637,
    "c": 0.19489,
    "h": 279.8
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#33169D
secondary
#ABC748
accent
#F236CA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33169D

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

Preview Lab → · Contrast checker → · Palette generator →

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