#32256A#32256A

#32256A is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.115 H 286.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#32256A
RGBrgb(50, 37, 106)
HSLhsl(251, 48%, 28%)
HSVhsv(251, 65%, 42%)
CMYKcmyk(52.8%, 65.1%, 0%, 58.4%)
CIE-LABlab(20.21, 25.84, -38.46)
CIE-LCHlch(20.21, 46.34, 303.89°)
OKLaboklab(32.3% 0.0331 -0.1101)
OKLCHoklch(32.3% 0.115 286.7)
XYZxyz(4.5777, 3.0416, 13.9788)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32256A #5D6A25
analogous
#253A6A #32256A #54256A
triadic
#32256A #6A3225 #256A32
tetradic
#32256A #6A253A #5D6A25 #256A54
square
#32256A #6A253A #5D6A25 #256A54
split-complementary
#32256A #6A5425 #3A6A25
monochromatic
#0B0817 #1D153D #32256A #473597 #604AC0

Accessibility & contrast

On white

13.06
#32256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32256A
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32256A#FFFFFF#000000##FFFFFF
##32256A1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#1E3543
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #32256a;
/* rgb */ color: rgb(50, 37, 106);
/* oklch */ color: oklch(32.3% 0.115 286.7);
Tailwind
colors: {
  custom: {
    50: '#6f6095',
    500: '#32256a',
    950: '#000000',
  },
}
SCSS
$custom: #32256a;
$custom-light: #6f6095;
$custom-dark: #000000;
JSON
{
  "hex": "#32256a",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 251.304,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32304,
    "c": 0.11502,
    "h": 286.7
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#32256A
secondary
#8E9D4E
accent
#D850BE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #32256A

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

Preview Lab → · Contrast checker → · Palette generator →

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