#33164C#33164C

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

Color values

HEX#33164C
RGBrgb(51, 22, 76)
HSLhsl(272, 55%, 19%)
HSVhsv(272, 71%, 30%)
CMYKcmyk(32.9%, 71.1%, 0%, 70.2%)
CIE-LABlab(14.40, 26.22, -27.82)
CIE-LCHlch(14.40, 38.23, 313.31°)
OKLaboklab(27.34% 0.0564 -0.0788)
OKLCHoklch(27.34% 0.097 305.6)
XYZxyz(2.9564, 1.7995, 7.0277)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33164C #2F4C16
analogous
#18164C #33164C #4C164A
triadic
#33164C #4C3316 #164C33
tetradic
#33164C #4C1816 #2F4C16 #164A4C
square
#33164C #4C1816 #2F4C16 #164A4C
split-complementary
#33164C #4A4C16 #164C18
monochromatic
#100718 #13081D #33164C #53247B #7331AB

Accessibility & contrast

On white

15.44
#33164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33164C
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33164C#FFFFFF#000000##FFFFFF
##33164C1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#09254B
Tritanopia (blue-blind)
#2F212E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #33164c;
/* rgb */ color: rgb(51, 22, 76);
/* oklch */ color: oklch(27.3% 0.097 305.6);
Tailwind
colors: {
  custom: {
    50: '#6d557e',
    500: '#33164c',
    950: '#000000',
  },
}
SCSS
$custom: #33164c;
$custom-light: #6d557e;
$custom-dark: #000000;
JSON
{
  "hex": "#33164c",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 272.222,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27344,
    "c": 0.0969,
    "h": 305.6
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#33164C
secondary
#5C843A
accent
#DE498E
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #33164C

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

Preview Lab → · Contrast checker → · Palette generator →

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