#32236A#32236A

#32236A is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.118 H 287.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#32236A
RGBrgb(50, 35, 106)
HSLhsl(253, 50%, 28%)
HSVhsv(253, 67%, 42%)
CMYKcmyk(52.8%, 67%, 0%, 58.4%)
CIE-LABlab(19.72, 27.13, -39.25)
CIE-LCHlch(19.72, 47.72, 304.65°)
OKLaboklab(31.95% 0.0354 -0.1125)
OKLCHoklch(31.95% 0.118 287.5)
XYZxyz(4.5172, 2.9206, 13.9586)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32236A #5B6A23
analogous
#23376A #32236A #55236A
triadic
#32236A #6A3223 #236A32
tetradic
#32236A #6A2337 #5B6A23 #236A55
square
#32236A #6A2337 #5B6A23 #236A55
split-complementary
#32236A #6A5523 #376A23
monochromatic
#0B0817 #1C143C #32236A #483298 #6046C2

Accessibility & contrast

On white

13.26
#32236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#32236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32236A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32236A#FFFFFF#000000##FFFFFF
##32236A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#1E3443
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #32236a;
/* rgb */ color: rgb(50, 35, 106);
/* oklch */ color: oklch(31.9% 0.118 287.5);
Tailwind
colors: {
  custom: {
    50: '#705f95',
    500: '#32236a',
    950: '#000000',
  },
}
SCSS
$custom: #32236a;
$custom-light: #705f95;
$custom-dark: #000000;
JSON
{
  "hex": "#32236a",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 252.676,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31949,
    "c": 0.11793,
    "h": 287.5
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#32236A
secondary
#8C9D4B
accent
#DA4EBC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #32236A

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

Preview Lab → · Contrast checker → · Palette generator →

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