#32255E#32255E

#32255E is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.3% C 0.097 H 290.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#32255E
RGBrgb(50, 37, 94)
HSLhsl(254, 44%, 26%)
HSVhsv(254, 61%, 37%)
CMYKcmyk(46.8%, 60.6%, 0%, 63.1%)
CIE-LABlab(19.26, 21.87, -32.12)
CIE-LCHlch(19.26, 38.86, 304.25°)
OKLaboklab(31.31% 0.0335 -0.0915)
OKLCHoklch(31.31% 0.097 290.1)
XYZxyz(3.9968, 2.8093, 10.9192)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32255E #515E25
analogous
#25345E #32255E #4E255E
triadic
#32255E #5E3225 #255E32
tetradic
#32255E #5E2534 #515E25 #255E4E
square
#32255E #5E2534 #515E25 #255E4E
split-complementary
#32255E #5E4E25 #345E25
monochromatic
#0C0916 #1B1432 #32255E #49368A #6148B6

Accessibility & contrast

On white

13.45
#32255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32255E
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32255E#FFFFFF#000000##FFFFFF
##32255E1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053060
Deuteranopia (green-blind)
#072D5D
Tritanopia (blue-blind)
#25313D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32255e;
/* rgb */ color: rgb(50, 37, 94);
/* oklch */ color: oklch(31.3% 0.097 290.1);
Tailwind
colors: {
  custom: {
    50: '#6d608c',
    500: '#32255e',
    950: '#000000',
  },
}
SCSS
$custom: #32255e;
$custom-light: #6d608c;
$custom-dark: #000000;
JSON
{
  "hex": "#32255e",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 253.684,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31309,
    "c": 0.09744,
    "h": 290.1
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#32255E
secondary
#82914D
accent
#D355B6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #32255E

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

Preview Lab → · Contrast checker → · Palette generator →

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