#33164F#33164F

#33164F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.101 H 303.8°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#33164F
RGBrgb(51, 22, 79)
HSLhsl(271, 56%, 20%)
HSVhsv(271, 72%, 31%)
CMYKcmyk(35.4%, 72.2%, 0%, 69%)
CIE-LABlab(14.64, 27.06, -29.49)
CIE-LCHlch(14.64, 40.03, 312.54°)
OKLaboklab(27.59% 0.0561 -0.0837)
OKLCHoklch(27.59% 0.101 303.8)
XYZxyz(3.0631, 1.8421, 7.5898)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33164F #324F16
analogous
#16164F #33164F #4F164F
triadic
#33164F #4F3316 #164F33
tetradic
#33164F #4F1616 #324F16 #164F4F
square
#33164F #4F1616 #324F16 #164F4F
split-complementary
#33164F #4F4F16 #164F16
monochromatic
#0F0718 #14091F #33164F #52237F #7131AF

Accessibility & contrast

On white

15.35
#33164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#33164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33164F
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33164F#FFFFFF#000000##FFFFFF
##33164F1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#04254E
Tritanopia (blue-blind)
#2E2330
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33164f;
/* rgb */ color: rgb(51, 22, 79);
/* oklch */ color: oklch(27.6% 0.101 303.8);
Tailwind
colors: {
  custom: {
    50: '#6d5581',
    500: '#33164f',
    950: '#000000',
  },
}
SCSS
$custom: #33164f;
$custom-light: #6d5581;
$custom-dark: #000000;
JSON
{
  "hex": "#33164f",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 270.526,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27591,
    "c": 0.10077,
    "h": 303.8
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#33164F
secondary
#60863A
accent
#E04893
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #33164F

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

Preview Lab → · Contrast checker → · Palette generator →

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