#32135B#32135B

#32135B is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.120 H 297.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#32135B
RGBrgb(50, 19, 91)
HSLhsl(266, 65%, 22%)
HSVhsv(266, 79%, 36%)
CMYKcmyk(45.1%, 79.1%, 0%, 64.3%)
CIE-LABlab(14.95, 31.93, -37.12)
CIE-LCHlch(14.95, 48.96, 310.70°)
OKLaboklab(28.11% 0.0558 -0.1061)
OKLCHoklch(28.11% 0.12 297.7)
XYZxyz(3.4361, 1.8991, 10.0810)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32135B #3C5B13
analogous
#13185B #32135B #56135B
triadic
#32135B #5B3213 #135B32
tetradic
#32135B #5B1318 #3C5B13 #135B56
square
#32135B #5B1318 #3C5B13 #135B56
split-complementary
#32135B #5B5613 #185B13
monochromatic
#0E0519 #160828 #32135B #4E1E8E #6A28C0

Accessibility & contrast

On white

15.22
#32135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32135B
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32135B#FFFFFF#000000##FFFFFF
##32135B1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#282636
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32135b;
/* rgb */ color: rgb(50, 19, 91);
/* oklch */ color: oklch(28.1% 0.120 297.7);
Tailwind
colors: {
  custom: {
    50: '#6f548a',
    500: '#32135b',
    950: '#000000',
  },
}
SCSS
$custom: #32135b;
$custom-light: #6f548a;
$custom-dark: #000000;
JSON
{
  "hex": "#32135b",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 265.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28111,
    "c": 0.1199,
    "h": 297.7
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#32135B
secondary
#6B9337
accent
#E83FA0
background
#F6F4F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32135B

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

Preview Lab → · Contrast checker → · Palette generator →

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