#32154F#32154F

#32154F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.102 H 303.2°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#32154F
RGBrgb(50, 21, 79)
HSLhsl(270, 58%, 20%)
HSVhsv(270, 73%, 31%)
CMYKcmyk(36.7%, 73.4%, 0%, 69%)
CIE-LABlab(14.28, 27.39, -30.07)
CIE-LCHlch(14.28, 40.68, 312.33°)
OKLaboklab(27.31% 0.0558 -0.0854)
OKLCHoklch(27.31% 0.102 303.2)
XYZxyz(2.9945, 1.7790, 7.5812)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32154F #324F15
analogous
#15154F #32154F #4F154F
triadic
#32154F #4F3215 #154F32
tetradic
#32154F #4F1515 #324F15 #154F4F
square
#32154F #4F1515 #324F15 #154F4F
split-complementary
#32154F #4F4F15 #154F15
monochromatic
#0F0618 #13081F #32154F #51227F #6F2FB0

Accessibility & contrast

On white

15.49
#32154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#32154F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32154F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32154F#FFFFFF#000000##FFFFFF
##32154F1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#01244E
Tritanopia (blue-blind)
#2C2230
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #32154f;
/* rgb */ color: rgb(50, 21, 79);
/* oklch */ color: oklch(27.3% 0.102 303.2);
Tailwind
colors: {
  custom: {
    50: '#6d5581',
    500: '#32154f',
    950: '#000000',
  },
}
SCSS
$custom: #32154f;
$custom-light: #6d5581;
$custom-dark: #000000;
JSON
{
  "hex": "#32154f",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 270,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27305,
    "c": 0.10207,
    "h": 303.2
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#32154F
secondary
#608739
accent
#E14794
background
#F6F5F7
surface
#ECE8EE
border
#C7C4C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #32154F

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

Preview Lab → · Contrast checker → · Palette generator →

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