#33164B#33164B

#33164B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.096 H 306.2°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#33164B
RGBrgb(51, 22, 75)
HSLhsl(273, 55%, 19%)
HSVhsv(273, 71%, 29%)
CMYKcmyk(32%, 70.7%, 0%, 70.6%)
CIE-LABlab(14.32, 25.94, -27.25)
CIE-LCHlch(14.32, 37.63, 313.59°)
OKLaboklab(27.26% 0.0565 -0.0771)
OKLCHoklch(27.26% 0.096 306.2)
XYZxyz(2.9219, 1.7857, 6.8460)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33164B #2E4B16
analogous
#19164B #33164B #4B1649
triadic
#33164B #4B3316 #164B33
tetradic
#33164B #4B1916 #2E4B16 #16494B
square
#33164B #4B1916 #2E4B16 #16494B
split-complementary
#33164B #494B16 #164B19
monochromatic
#100718 #13081C #33164B #53247A #7332AA

Accessibility & contrast

On white

15.47
#33164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33164B
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33164B#FFFFFF#000000##FFFFFF
##33164B1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#0A244A
Tritanopia (blue-blind)
#2F212E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #33164b;
/* rgb */ color: rgb(51, 22, 75);
/* oklch */ color: oklch(27.3% 0.096 306.2);
Tailwind
colors: {
  custom: {
    50: '#6d557e',
    500: '#33164b',
    950: '#000000',
  },
}
SCSS
$custom: #33164b;
$custom-light: #6d557e;
$custom-dark: #000000;
JSON
{
  "hex": "#33164b",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 272.83,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27263,
    "c": 0.09561,
    "h": 306.2
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#33164B
secondary
#5B833A
accent
#DE4A8D
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #33164B

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

Preview Lab → · Contrast checker → · Palette generator →

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