#32256E#32256E

#32256E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.121 H 285.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#32256E
RGBrgb(50, 37, 110)
HSLhsl(251, 50%, 29%)
HSVhsv(251, 66%, 43%)
CMYKcmyk(54.5%, 66.4%, 0%, 56.9%)
CIE-LABlab(20.54, 27.17, -40.51)
CIE-LCHlch(20.54, 48.78, 303.85°)
OKLaboklab(32.65% 0.0328 -0.1162)
OKLCHoklch(32.65% 0.121 285.8)
XYZxyz(4.7906, 3.1268, 15.0999)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32256E #616E25
analogous
#253D6E #32256E #57256E
triadic
#32256E #6E3225 #256E32
tetradic
#32256E #6E253D #616E25 #256E57
square
#32256E #6E253D #616E25 #256E57
split-complementary
#32256E #6E5725 #3D6E25
monochromatic
#0A0817 #1D1640 #32256E #47349C #604BC2

Accessibility & contrast

On white

12.92
#32256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#32256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32256E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32256E#FFFFFF#000000##FFFFFF
##32256E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#1B3745
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #32256e;
/* rgb */ color: rgb(50, 37, 110);
/* oklch */ color: oklch(32.7% 0.121 285.8);
Tailwind
colors: {
  custom: {
    50: '#706098',
    500: '#32256e',
    950: '#000000',
  },
}
SCSS
$custom: #32256e;
$custom-light: #706098;
$custom-dark: #000000;
JSON
{
  "hex": "#32256e",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 250.685,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32653,
    "c": 0.12071,
    "h": 285.8
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#32256E
secondary
#92A14E
accent
#D94FC1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #32256E

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

Preview Lab → · Contrast checker → · Palette generator →

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