#32135C#32135C

#32135C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.121 H 297.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#32135C
RGBrgb(50, 19, 92)
HSLhsl(265, 66%, 22%)
HSVhsv(265, 79%, 36%)
CMYKcmyk(45.7%, 79.3%, 0%, 63.9%)
CIE-LABlab(15.04, 32.22, -37.64)
CIE-LCHlch(15.04, 49.54, 310.56°)
OKLaboklab(28.21% 0.0555 -0.1077)
OKLCHoklch(28.21% 0.121 297.3)
XYZxyz(3.4795, 1.9165, 10.3097)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32135C #3D5C13
analogous
#13195C #32135C #57135C
triadic
#32135C #5C3213 #135C32
tetradic
#32135C #5C1319 #3D5C13 #135C57
square
#32135C #5C1319 #3D5C13 #135C57
split-complementary
#32135C #5C5713 #195C13
monochromatic
#0E0519 #160929 #32135C #4E1D8F #6928C1

Accessibility & contrast

On white

15.18
#32135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32135C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32135C#FFFFFF#000000##FFFFFF
##32135C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#272636
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32135c;
/* rgb */ color: rgb(50, 19, 92);
/* oklch */ color: oklch(28.2% 0.121 297.3);
Tailwind
colors: {
  custom: {
    50: '#6f548b',
    500: '#32135c',
    950: '#000000',
  },
}
SCSS
$custom: #32135c;
$custom-light: #6f548b;
$custom-dark: #000000;
JSON
{
  "hex": "#32135c",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 265.479,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28207,
    "c": 0.12113,
    "h": 297.3
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#32135C
secondary
#6C9437
accent
#E93FA1
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32135C

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

Preview Lab → · Contrast checker → · Palette generator →

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