#32135A#32135A

#32135A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.119 H 298.2°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#32135A
RGBrgb(50, 19, 90)
HSLhsl(266, 65%, 21%)
HSVhsv(266, 79%, 35%)
CMYKcmyk(44.4%, 78.9%, 0%, 64.7%)
CIE-LABlab(14.86, 31.64, -36.60)
CIE-LCHlch(14.86, 48.38, 310.84°)
OKLaboklab(28.02% 0.056 -0.1046)
OKLCHoklch(28.02% 0.119 298.2)
XYZxyz(3.3933, 1.8820, 9.8554)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32135A #3B5A13
analogous
#13185A #32135A #56135A
triadic
#32135A #5A3213 #135A32
tetradic
#32135A #5A1318 #3B5A13 #135A56
square
#32135A #5A1318 #3B5A13 #135A56
split-complementary
#32135A #5A5613 #185A13
monochromatic
#0E0519 #160827 #32135A #4E1E8D #6A28BF

Accessibility & contrast

On white

15.26
#32135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#32135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32135A
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32135A#FFFFFF#000000##FFFFFF
##32135A1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#282535
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32135a;
/* rgb */ color: rgb(50, 19, 90);
/* oklch */ color: oklch(28.0% 0.119 298.2);
Tailwind
colors: {
  custom: {
    50: '#6e5489',
    500: '#32135a',
    950: '#000000',
  },
}
SCSS
$custom: #32135a;
$custom-light: #6e5489;
$custom-dark: #000000;
JSON
{
  "hex": "#32135a",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 266.197,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28016,
    "c": 0.11868,
    "h": 298.2
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#32135A
secondary
#6A9237
accent
#E8409F
background
#F6F4F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32135A

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

Preview Lab → · Contrast checker → · Palette generator →

#32135A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva