#32154D#32154D

#32154D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.099 H 304.3°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#32154D
RGBrgb(50, 21, 77)
HSLhsl(271, 57%, 19%)
HSVhsv(271, 73%, 30%)
CMYKcmyk(35.1%, 72.7%, 0%, 69.8%)
CIE-LABlab(14.12, 26.83, -28.96)
CIE-LCHlch(14.12, 39.48, 312.81°)
OKLaboklab(27.14% 0.0561 -0.0822)
OKLCHoklch(27.14% 0.099 304.3)
XYZxyz(2.9228, 1.7503, 7.2036)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32154D #304D15
analogous
#16154D #32154D #4D154C
triadic
#32154D #4D3215 #154D32
tetradic
#32154D #4D1615 #304D15 #154C4D
square
#32154D #4D1615 #304D15 #154C4D
split-complementary
#32154D #4C4D15 #154D16
monochromatic
#100718 #13081D #32154D #51227D #702FAD

Accessibility & contrast

On white

15.56
#32154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#32154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32154D
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32154D#FFFFFF#000000##FFFFFF
##32154D1.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)
#00234F
Deuteranopia (green-blind)
#04244C
Tritanopia (blue-blind)
#2D212F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #32154d;
/* rgb */ color: rgb(50, 21, 77);
/* oklch */ color: oklch(27.1% 0.099 304.3);
Tailwind
colors: {
  custom: {
    50: '#6d547f',
    500: '#32154d',
    950: '#000000',
  },
}
SCSS
$custom: #32154d;
$custom-light: #6d547f;
$custom-dark: #000000;
JSON
{
  "hex": "#32154d",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 271.071,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27136,
    "c": 0.09949,
    "h": 304.3
  },
  "luminance": 0.0175
}

Semantic roles & 50–950 ramp

primary
#32154D
secondary
#5E8539
accent
#E04791
background
#F6F5F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #32154D

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

Preview Lab → · Contrast checker → · Palette generator →

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