#32255C#32255C

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

Color values

HEX#32255C
RGBrgb(50, 37, 92)
HSLhsl(254, 43%, 25%)
HSVhsv(254, 60%, 36%)
CMYKcmyk(45.7%, 59.8%, 0%, 63.9%)
CIE-LABlab(19.11, 21.22, -31.03)
CIE-LCHlch(19.11, 37.60, 304.37°)
OKLaboklab(31.15% 0.0335 -0.0883)
OKLCHoklch(31.15% 0.094 290.8)
XYZxyz(3.9082, 2.7738, 10.4526)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32255C #4F5C25
analogous
#25335C #32255C #4D255C
triadic
#32255C #5C3225 #255C32
tetradic
#32255C #5C2533 #4F5C25 #255C4D
square
#32255C #5C2533 #4F5C25 #255C4D
split-complementary
#32255C #5C4D25 #335C25
monochromatic
#0C0916 #1A1330 #32255C #4A3788 #6148B3

Accessibility & contrast

On white

13.51
#32255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32255C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32255C#FFFFFF#000000##FFFFFF
##32255C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5E
Deuteranopia (green-blind)
#0B2D5B
Tritanopia (blue-blind)
#26313C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32255c;
/* rgb */ color: rgb(50, 37, 92);
/* oklch */ color: oklch(31.2% 0.094 290.8);
Tailwind
colors: {
  custom: {
    50: '#6d608a',
    500: '#32255c',
    950: '#000000',
  },
}
SCSS
$custom: #32255c;
$custom-light: #6d608a;
$custom-dark: #000000;
JSON
{
  "hex": "#32255c",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 254.182,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31151,
    "c": 0.09444,
    "h": 290.8
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#32255C
secondary
#808F4D
accent
#D255B5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #32255C

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

Preview Lab → · Contrast checker → · Palette generator →

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