#32154C#32154C

#32154C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.098 H 304.9°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#32154C
RGBrgb(50, 21, 76)
HSLhsl(272, 57%, 19%)
HSVhsv(272, 72%, 30%)
CMYKcmyk(34.2%, 72.4%, 0%, 70.2%)
CIE-LABlab(14.04, 26.55, -28.40)
CIE-LCHlch(14.04, 38.88, 313.06°)
OKLaboklab(27.05% 0.0562 -0.0805)
OKLCHoklch(27.05% 0.098 304.9)
XYZxyz(2.8878, 1.7363, 7.0191)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32154C #2F4C15
analogous
#17154C #32154C #4C154B
triadic
#32154C #4C3215 #154C32
tetradic
#32154C #4C1715 #2F4C15 #154B4C
square
#32154C #4C1715 #2F4C15 #154B4C
split-complementary
#32154C #4B4C15 #154C17
monochromatic
#100718 #12081C #32154C #52227C #712FAC

Accessibility & contrast

On white

15.59
#32154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32154C
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32154C#FFFFFF#000000##FFFFFF
##32154C1.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)
#00234E
Deuteranopia (green-blind)
#06244B
Tritanopia (blue-blind)
#2D212E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #32154c;
/* rgb */ color: rgb(50, 21, 76);
/* oklch */ color: oklch(27.1% 0.098 304.9);
Tailwind
colors: {
  custom: {
    50: '#6d547e',
    500: '#32154c',
    950: '#000000',
  },
}
SCSS
$custom: #32154c;
$custom-light: #6d547e;
$custom-dark: #000000;
JSON
{
  "hex": "#32154c",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 271.636,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27052,
    "c": 0.0982,
    "h": 304.9
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#32154C
secondary
#5C8439
accent
#E04890
background
#F6F5F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #32154C

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

Preview Lab → · Contrast checker → · Palette generator →

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