#32255D#32255D

#32255D is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.2% C 0.096 H 290.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#32255D
RGBrgb(50, 37, 93)
HSLhsl(254, 43%, 25%)
HSVhsv(254, 60%, 36%)
CMYKcmyk(46.2%, 60.2%, 0%, 63.5%)
CIE-LABlab(19.19, 21.55, -31.58)
CIE-LCHlch(19.19, 38.23, 304.31°)
OKLaboklab(31.23% 0.0335 -0.0899)
OKLCHoklch(31.23% 0.096 290.4)
XYZxyz(3.9522, 2.7914, 10.6844)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32255D #505D25
analogous
#25345D #32255D #4E255D
triadic
#32255D #5D3225 #255D32
tetradic
#32255D #5D2534 #505D25 #255D4E
square
#32255D #5D2534 #505D25 #255D4E
split-complementary
#32255D #5D4E25 #345D25
monochromatic
#0C0916 #1A1431 #32255D #4A3689 #6148B5

Accessibility & contrast

On white

13.48
#32255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#32255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32255D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32255D#FFFFFF#000000##FFFFFF
##32255D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06305F
Deuteranopia (green-blind)
#092D5C
Tritanopia (blue-blind)
#26313D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32255d;
/* rgb */ color: rgb(50, 37, 93);
/* oklch */ color: oklch(31.2% 0.096 290.4);
Tailwind
colors: {
  custom: {
    50: '#6d608b',
    500: '#32255d',
    950: '#000000',
  },
}
SCSS
$custom: #32255d;
$custom-light: #6d608b;
$custom-dark: #000000;
JSON
{
  "hex": "#32255d",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 253.929,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3123,
    "c": 0.09594,
    "h": 290.4
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#32255D
secondary
#81904D
accent
#D355B6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #32255D

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

Preview Lab → · Contrast checker → · Palette generator →

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