#33154A#33154A

#33154A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.096 H 307.1°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#33154A
RGBrgb(51, 21, 74)
HSLhsl(274, 56%, 19%)
HSVhsv(274, 72%, 29%)
CMYKcmyk(31.1%, 71.6%, 0%, 71%)
CIE-LABlab(14.03, 26.25, -27.03)
CIE-LCHlch(14.03, 37.68, 314.16°)
OKLaboklab(27.03% 0.0579 -0.0765)
OKLCHoklch(27.03% 0.096 307.1)
XYZxyz(2.8692, 1.7346, 6.6609)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33154A #2C4A15
analogous
#18154A #33154A #4A1546
triadic
#33154A #4A3315 #154A33
tetradic
#33154A #4A1815 #2C4A15 #15464A
square
#33154A #4A1815 #2C4A15 #15464A
split-complementary
#33154A #464A15 #154A18
monochromatic
#100718 #12071A #33154A #54237A #7530A9

Accessibility & contrast

On white

15.59
#33154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33154A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33154A#FFFFFF#000000##FFFFFF
##33154A1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33154a;
/* rgb */ color: rgb(51, 21, 74);
/* oklch */ color: oklch(27.0% 0.096 307.1);
Tailwind
colors: {
  custom: {
    50: '#6d547d',
    500: '#33154a',
    950: '#000000',
  },
}
SCSS
$custom: #33154a;
$custom-light: #6d547d;
$custom-dark: #000000;
JSON
{
  "hex": "#33154a",
  "rgb": {
    "r": 51,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 273.962,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27027,
    "c": 0.09594,
    "h": 307.1
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#33154A
secondary
#598239
accent
#DF498A
background
#F6F5F7
surface
#ECE8EE
border
#C7C4C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #33154A

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

Preview Lab → · Contrast checker → · Palette generator →

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