#32256D#32256D

#32256D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.119 H 286.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#32256D
RGBrgb(50, 37, 109)
HSLhsl(251, 49%, 29%)
HSVhsv(251, 66%, 43%)
CMYKcmyk(54.1%, 66.1%, 0%, 57.3%)
CIE-LABlab(20.46, 26.84, -40.00)
CIE-LCHlch(20.46, 48.18, 303.86°)
OKLaboklab(32.57% 0.0329 -0.1147)
OKLCHoklch(32.57% 0.119 286)
XYZxyz(4.7365, 3.1051, 14.8148)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32256D #606D25
analogous
#253C6D #32256D #56256D
triadic
#32256D #6D3225 #256D32
tetradic
#32256D #6D253C #606D25 #256D56
square
#32256D #6D253C #606D25 #256D56
split-complementary
#32256D #6D5625 #3C6D25
monochromatic
#0A0817 #1D153F #32256D #47359B #604BC2

Accessibility & contrast

On white

12.95
#32256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#32256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32256D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32256D#FFFFFF#000000##FFFFFF
##32256D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#1C3645
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #32256d;
/* rgb */ color: rgb(50, 37, 109);
/* oklch */ color: oklch(32.6% 0.119 286.0);
Tailwind
colors: {
  custom: {
    50: '#706097',
    500: '#32256d',
    950: '#000000',
  },
}
SCSS
$custom: #32256d;
$custom-light: #706097;
$custom-dark: #000000;
JSON
{
  "hex": "#32256d",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 250.833,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32565,
    "c": 0.11929,
    "h": 286
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#32256D
secondary
#91A04E
accent
#D94FC0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #32256D

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

Preview Lab → · Contrast checker → · Palette generator →

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