#32256B#32256B

#32256B is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.4% C 0.116 H 286.5°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#32256B
RGBrgb(50, 37, 107)
HSLhsl(251, 49%, 28%)
HSVhsv(251, 65%, 42%)
CMYKcmyk(53.3%, 65.4%, 0%, 58%)
CIE-LABlab(20.29, 26.17, -38.98)
CIE-LCHlch(20.29, 46.95, 303.88°)
OKLaboklab(32.39% 0.033 -0.1117)
OKLCHoklch(32.39% 0.116 286.5)
XYZxyz(4.6300, 3.0626, 14.2542)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32256B #5E6B25
analogous
#253B6B #32256B #55256B
triadic
#32256B #6B3225 #256B32
tetradic
#32256B #6B253B #5E6B25 #256B55
square
#32256B #6B253B #5E6B25 #256B55
split-complementary
#32256B #6B5525 #3B6B25
monochromatic
#0B0817 #1D153E #32256B #473598 #604AC0

Accessibility & contrast

On white

13.02
#32256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#32256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32256B
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32256B#FFFFFF#000000##FFFFFF
##32256B1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#1D3644
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #32256b;
/* rgb */ color: rgb(50, 37, 107);
/* oklch */ color: oklch(32.4% 0.116 286.5);
Tailwind
colors: {
  custom: {
    50: '#706096',
    500: '#32256b',
    950: '#000000',
  },
}
SCSS
$custom: #32256b;
$custom-light: #706096;
$custom-dark: #000000;
JSON
{
  "hex": "#32256b",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 251.143,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32391,
    "c": 0.11645,
    "h": 286.5
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#32256B
secondary
#8F9E4E
accent
#D850BF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #32256B

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

Preview Lab → · Contrast checker → · Palette generator →

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