#32254F#32254F

#32254F is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.2% C 0.074 H 295.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#32254F
RGBrgb(50, 37, 79)
HSLhsl(259, 36%, 23%)
HSVhsv(259, 53%, 31%)
CMYKcmyk(36.7%, 53.2%, 0%, 69%)
CIE-LABlab(18.21, 17.08, -23.76)
CIE-LCHlch(18.21, 29.26, 305.71°)
OKLaboklab(30.19% 0.0325 -0.067)
OKLCHoklch(30.19% 0.074 295.9)
XYZxyz(3.3879, 2.5657, 7.7124)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32254F #424F25
analogous
#252D4F #32254F #47254F
triadic
#32254F #4F3225 #254F32
tetradic
#32254F #4F252D #424F25 #254F47
square
#32254F #4F252D #424F25 #254F47
split-complementary
#32254F #4F4725 #2D4F25
monochromatic
#0D0A15 #181125 #32254F #4C3979 #674CA2

Accessibility & contrast

On white

13.88
#32254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#32254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32254F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32254F#FFFFFF#000000##FFFFFF
##32254F1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D50
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#2B2D36
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #32254f;
/* rgb */ color: rgb(50, 37, 79);
/* oklch */ color: oklch(30.2% 0.074 295.9);
Tailwind
colors: {
  custom: {
    50: '#6c5f80',
    500: '#32254f',
    950: '#000000',
  },
}
SCSS
$custom: #32254f;
$custom-light: #6c5f80;
$custom-dark: #000000;
JSON
{
  "hex": "#32254f",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 258.571,
    "s": 36.207,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30191,
    "c": 0.07445,
    "h": 295.9
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#32254F
secondary
#72824E
accent
#CC5CA9
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #32254F

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

Preview Lab → · Contrast checker → · Palette generator →

#32254F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva