#32256F#32256F

#32256F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.122 H 285.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#32256F
RGBrgb(50, 37, 111)
HSLhsl(251, 50%, 29%)
HSVhsv(251, 67%, 44%)
CMYKcmyk(55%, 66.7%, 0%, 56.5%)
CIE-LABlab(20.63, 27.51, -41.02)
CIE-LCHlch(20.63, 49.39, 303.84°)
OKLaboklab(32.74% 0.0327 -0.1177)
OKLCHoklch(32.74% 0.122 285.5)
XYZxyz(4.8453, 3.1487, 15.3883)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32256F #626F25
analogous
#253D6F #32256F #57256F
triadic
#32256F #6F3225 #256F32
tetradic
#32256F #6F253D #626F25 #256F57
square
#32256F #6F253D #626F25 #256F57
split-complementary
#32256F #6F5725 #3D6F25
monochromatic
#0A0817 #1D1641 #32256F #47349D #604BC3

Accessibility & contrast

On white

12.89
#32256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#32256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32256F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32256F#FFFFFF#000000##FFFFFF
##32256F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#1A3746
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32256f;
/* rgb */ color: rgb(50, 37, 111);
/* oklch */ color: oklch(32.7% 0.122 285.5);
Tailwind
colors: {
  custom: {
    50: '#706099',
    500: '#32256f',
    950: '#000000',
  },
}
SCSS
$custom: #32256f;
$custom-light: #706099;
$custom-dark: #000000;
JSON
{
  "hex": "#32256f",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 250.541,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32742,
    "c": 0.12212,
    "h": 285.5
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#32256F
secondary
#93A24E
accent
#DA4EC1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #32256F

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

Preview Lab → · Contrast checker → · Palette generator →

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