#33164A#33164A

#33164A is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.094 H 306.8°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#33164A
RGBrgb(51, 22, 74)
HSLhsl(273, 54%, 19%)
HSVhsv(273, 70%, 29%)
CMYKcmyk(31.1%, 70.3%, 0%, 71%)
CIE-LABlab(14.24, 25.66, -26.69)
CIE-LCHlch(14.24, 37.03, 313.88°)
OKLaboklab(27.18% 0.0565 -0.0755)
OKLCHoklch(27.18% 0.094 306.8)
XYZxyz(2.8879, 1.7721, 6.6671)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33164A #2D4A16
analogous
#19164A #33164A #4A1647
triadic
#33164A #4A3316 #164A33
tetradic
#33164A #4A1916 #2D4A16 #16474A
square
#33164A #4A1916 #2D4A16 #16474A
split-complementary
#33164A #474A16 #164A19
monochromatic
#100718 #12081B #33164A #542479 #7432A8

Accessibility & contrast

On white

15.51
#33164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#33164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33164A
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33164A#FFFFFF#000000##FFFFFF
##33164A1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#0B2449
Tritanopia (blue-blind)
#2F212D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #33164a;
/* rgb */ color: rgb(51, 22, 74);
/* oklch */ color: oklch(27.2% 0.094 306.8);
Tailwind
colors: {
  custom: {
    50: '#6d557d',
    500: '#33164a',
    950: '#000000',
  },
}
SCSS
$custom: #33164a;
$custom-light: #6d557d;
$custom-dark: #000000;
JSON
{
  "hex": "#33164a",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 273.462,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27182,
    "c": 0.0943,
    "h": 306.8
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#33164A
secondary
#5A823A
accent
#DE4A8B
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #33164A

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

Preview Lab → · Contrast checker → · Palette generator →

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