#33169E#33169E

#33169E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.8% C 0.196 H 279.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#33169E
RGBrgb(51, 22, 158)
HSLhsl(253, 76%, 35%)
HSVhsv(253, 86%, 62%)
CMYKcmyk(67.7%, 86.1%, 0%, 38%)
CIE-LABlab(22.81, 50.19, -66.95)
CIE-LCHlch(22.81, 83.68, 306.86°)
OKLaboklab(35.75% 0.0327 -0.1933)
OKLCHoklch(35.75% 0.196 279.6)
XYZxyz(7.8217, 3.7456, 32.6519)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33169E #819E16
analogous
#163D9E #33169E #77169E
triadic
#33169E #9E3316 #169E33
tetradic
#33169E #9E163D #819E16 #169E77
square
#33169E #9E163D #819E16 #169E77
split-complementary
#33169E #9E7716 #3D9E16
monochromatic
#100733 #220F68 #33169E #441DD4 #6A49E6

Accessibility & contrast

On white

12.01
#33169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#33169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33169E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33169E#FFFFFF#000000##FFFFFF
##33169E1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33169e;
/* rgb */ color: rgb(51, 22, 158);
/* oklch */ color: oklch(35.8% 0.196 279.6);
Tailwind
colors: {
  custom: {
    50: '#7b5abc',
    500: '#33169e',
    950: '#000000',
  },
}
SCSS
$custom: #33169e;
$custom-light: #7b5abc;
$custom-dark: #000000;
JSON
{
  "hex": "#33169e",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 252.794,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35753,
    "c": 0.19602,
    "h": 279.6
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#33169E
secondary
#ACC749
accent
#F236CA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33169E

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

Preview Lab → · Contrast checker → · Palette generator →

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