#32135F#32135F

#32135F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.125 H 296.0°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#32135F
RGBrgb(50, 19, 95)
HSLhsl(264, 67%, 22%)
HSVhsv(264, 80%, 37%)
CMYKcmyk(47.4%, 80%, 0%, 62.7%)
CIE-LABlab(15.33, 33.08, -39.17)
CIE-LCHlch(15.33, 51.27, 310.18°)
OKLaboklab(28.5% 0.0547 -0.1122)
OKLCHoklch(28.5% 0.125 296)
XYZxyz(3.6133, 1.9700, 11.0141)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32135F #405F13
analogous
#131A5F #32135F #58135F
triadic
#32135F #5F3213 #135F32
tetradic
#32135F #5F131A #405F13 #135F58
square
#32135F #5F131A #405F13 #135F58
split-complementary
#32135F #5F5813 #1A5F13
monochromatic
#0D051A #17092C #32135F #4D1D92 #6827C5

Accessibility & contrast

On white

15.06
#32135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#32135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32135F
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32135F#FFFFFF#000000##FFFFFF
##32135F1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#262738
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32135f;
/* rgb */ color: rgb(50, 19, 95);
/* oklch */ color: oklch(28.5% 0.125 296.0);
Tailwind
colors: {
  custom: {
    50: '#6f548d',
    500: '#32135f',
    950: '#000000',
  },
}
SCSS
$custom: #32135f;
$custom-light: #6f548d;
$custom-dark: #000000;
JSON
{
  "hex": "#32135f",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 264.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28497,
    "c": 0.1248,
    "h": 296
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#32135F
secondary
#709737
accent
#EA3EA4
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32135F

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

Preview Lab → · Contrast checker → · Palette generator →

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