#33164D#33164D

#33164D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.098 H 305.0°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#33164D
RGBrgb(51, 22, 77)
HSLhsl(272, 56%, 19%)
HSVhsv(272, 71%, 30%)
CMYKcmyk(33.8%, 71.4%, 0%, 69.8%)
CIE-LABlab(14.48, 26.50, -28.38)
CIE-LCHlch(14.48, 38.83, 313.04°)
OKLaboklab(27.43% 0.0563 -0.0804)
OKLCHoklch(27.43% 0.098 305)
XYZxyz(2.9914, 1.8135, 7.2122)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33164D #304D16
analogous
#17164D #33164D #4D164C
triadic
#33164D #4D3316 #164D33
tetradic
#33164D #4D1716 #304D16 #164C4D
square
#33164D #4D1716 #304D16 #164C4D
split-complementary
#33164D #4C4D16 #164D17
monochromatic
#100718 #13081D #33164D #53247D #7231AC

Accessibility & contrast

On white

15.41
#33164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#33164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33164D
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33164D#FFFFFF#000000##FFFFFF
##33164D1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#07254C
Tritanopia (blue-blind)
#2E222F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33164d;
/* rgb */ color: rgb(51, 22, 77);
/* oklch */ color: oklch(27.4% 0.098 305.0);
Tailwind
colors: {
  custom: {
    50: '#6d557f',
    500: '#33164d',
    950: '#000000',
  },
}
SCSS
$custom: #33164d;
$custom-light: #6d557f;
$custom-dark: #000000;
JSON
{
  "hex": "#33164d",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 271.636,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27426,
    "c": 0.09819,
    "h": 305
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#33164D
secondary
#5D853A
accent
#DF4990
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #33164D

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

Preview Lab → · Contrast checker → · Palette generator →

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