#32255B#32255B

#32255B is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.1% C 0.093 H 291.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#32255B
RGBrgb(50, 37, 91)
HSLhsl(254, 42%, 25%)
HSVhsv(254, 59%, 36%)
CMYKcmyk(45.1%, 59.3%, 0%, 64.3%)
CIE-LABlab(19.04, 20.90, -30.49)
CIE-LCHlch(19.04, 36.96, 304.43°)
OKLaboklab(31.07% 0.0335 -0.0867)
OKLCHoklch(31.07% 0.093 291.1)
XYZxyz(3.8648, 2.7565, 10.2239)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32255B #4E5B25
analogous
#25335B #32255B #4D255B
triadic
#32255B #5B3225 #255B32
tetradic
#32255B #5B2533 #4E5B25 #255B4D
square
#32255B #5B2533 #4E5B25 #255B4D
split-complementary
#32255B #5B4D25 #335B25
monochromatic
#0C0916 #1A132F #32255B #4A3787 #6248B2

Accessibility & contrast

On white

13.54
#32255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#32255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32255B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32255B#FFFFFF#000000##FFFFFF
##32255B1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5D
Deuteranopia (green-blind)
#0C2D5A
Tritanopia (blue-blind)
#27313C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32255b;
/* rgb */ color: rgb(50, 37, 91);
/* oklch */ color: oklch(31.1% 0.093 291.1);
Tailwind
colors: {
  custom: {
    50: '#6d608a',
    500: '#32255b',
    950: '#000000',
  },
}
SCSS
$custom: #32255b;
$custom-light: #6d608a;
$custom-dark: #000000;
JSON
{
  "hex": "#32255b",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 254.444,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31073,
    "c": 0.09293,
    "h": 291.1
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#32255B
secondary
#7F8E4D
accent
#D256B4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #32255B

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

Preview Lab → · Contrast checker → · Palette generator →

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