#33154B#33154B

#33154B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.097 H 306.5°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#33154B
RGBrgb(51, 21, 75)
HSLhsl(273, 56%, 19%)
HSVhsv(273, 72%, 29%)
CMYKcmyk(32%, 72%, 0%, 70.6%)
CIE-LABlab(14.11, 26.53, -27.60)
CIE-LCHlch(14.11, 38.28, 313.87°)
OKLaboklab(27.11% 0.0579 -0.0781)
OKLCHoklch(27.11% 0.097 306.5)
XYZxyz(2.9031, 1.7482, 6.8397)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33154B #2D4B15
analogous
#18154B #33154B #4B1548
triadic
#33154B #4B3315 #154B33
tetradic
#33154B #4B1815 #2D4B15 #15484B
square
#33154B #4B1815 #2D4B15 #15484B
split-complementary
#33154B #484B15 #154B18
monochromatic
#100718 #12081B #33154B #54227B #7430AB

Accessibility & contrast

On white

15.56
#33154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33154B
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33154B#FFFFFF#000000##FFFFFF
##33154B1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#08244A
Tritanopia (blue-blind)
#2F202D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #33154b;
/* rgb */ color: rgb(51, 21, 75);
/* oklch */ color: oklch(27.1% 0.097 306.5);
Tailwind
colors: {
  custom: {
    50: '#6d557e',
    500: '#33154b',
    950: '#000000',
  },
}
SCSS
$custom: #33154b;
$custom-light: #6d557e;
$custom-dark: #000000;
JSON
{
  "hex": "#33154b",
  "rgb": {
    "r": 51,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 273.333,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27109,
    "c": 0.09722,
    "h": 306.5
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#33154B
secondary
#5A8339
accent
#E0488B
background
#F6F5F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #33154B

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

Preview Lab → · Contrast checker → · Palette generator →

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