#32255F#32255F

#32255F is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.4% C 0.099 H 289.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#32255F
RGBrgb(50, 37, 95)
HSLhsl(253, 44%, 26%)
HSVhsv(253, 61%, 37%)
CMYKcmyk(47.4%, 61.1%, 0%, 62.7%)
CIE-LABlab(19.34, 22.20, -32.66)
CIE-LCHlch(19.34, 39.49, 304.21°)
OKLaboklab(31.39% 0.0335 -0.0931)
OKLCHoklch(31.39% 0.099 289.8)
XYZxyz(4.0419, 2.8273, 11.1570)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32255F #525F25
analogous
#25355F #32255F #4F255F
triadic
#32255F #5F3225 #255F32
tetradic
#32255F #5F2535 #525F25 #255F4F
square
#32255F #5F2535 #525F25 #255F4F
split-complementary
#32255F #5F4F25 #355F25
monochromatic
#0C0916 #1B1433 #32255F #49368B #6047B7

Accessibility & contrast

On white

13.42
#32255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#32255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32255F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32255F#FFFFFF#000000##FFFFFF
##32255F1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#052E5E
Tritanopia (blue-blind)
#25323E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #32255f;
/* rgb */ color: rgb(50, 37, 95);
/* oklch */ color: oklch(31.4% 0.099 289.8);
Tailwind
colors: {
  custom: {
    50: '#6e608d',
    500: '#32255f',
    950: '#000000',
  },
}
SCSS
$custom: #32255f;
$custom-light: #6e608d;
$custom-dark: #000000;
JSON
{
  "hex": "#32255f",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 253.448,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31389,
    "c": 0.09893,
    "h": 289.8
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#32255F
secondary
#83924D
accent
#D454B7
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #32255F

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

Preview Lab → · Contrast checker → · Palette generator →

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