#32154B#32154B

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

Color values

HEX#32154B
RGBrgb(50, 21, 75)
HSLhsl(272, 56%, 19%)
HSVhsv(272, 72%, 29%)
CMYKcmyk(33.3%, 72%, 0%, 70.6%)
CIE-LABlab(13.96, 26.27, -27.84)
CIE-LCHlch(13.96, 38.28, 313.33°)
OKLaboklab(26.97% 0.0563 -0.0789)
OKLCHoklch(26.97% 0.097 305.5)
XYZxyz(2.8533, 1.7225, 6.8374)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32154B #2E4B15
analogous
#17154B #32154B #4B1549
triadic
#32154B #4B3215 #154B32
tetradic
#32154B #4B1715 #2E4B15 #15494B
square
#32154B #4B1715 #2E4B15 #15494B
split-complementary
#32154B #494B15 #154B17
monochromatic
#100718 #12081B #32154B #52227B #7230AB

Accessibility & contrast

On white

15.62
#32154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#32154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32154B
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32154B#FFFFFF#000000##FFFFFF
##32154B1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32154b;
/* rgb */ color: rgb(50, 21, 75);
/* oklch */ color: oklch(27.0% 0.097 305.5);
Tailwind
colors: {
  custom: {
    50: '#6c547e',
    500: '#32154b',
    950: '#000000',
  },
}
SCSS
$custom: #32154b;
$custom-light: #6c547e;
$custom-dark: #000000;
JSON
{
  "hex": "#32154b",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 272.222,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26969,
    "c": 0.09692,
    "h": 305.5
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#32154B
secondary
#5B8339
accent
#E0488E
background
#F6F4F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #32154B

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

Preview Lab → · Contrast checker → · Palette generator →

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