#32146A#32146A

#32146A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.137 H 291.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#32146A
RGBrgb(50, 20, 106)
HSLhsl(261, 68%, 25%)
HSVhsv(261, 81%, 42%)
CMYKcmyk(52.8%, 81.1%, 0%, 58.4%)
CIE-LABlab(16.60, 35.79, -44.36)
CIE-LCHlch(16.60, 57.00, 308.90°)
OKLaboklab(29.72% 0.0505 -0.1274)
OKLCHoklch(29.72% 0.137 291.6)
XYZxyz(4.1663, 2.2189, 13.8416)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32146A #4C6A14
analogous
#14216A #32146A #5D146A
triadic
#32146A #6A3214 #146A32
tetradic
#32146A #6A1421 #4C6A14 #146A5D
square
#32146A #6A1421 #4C6A14 #146A5D
split-complementary
#32146A #6A5D14 #216A14
monochromatic
#0C051A #1A0A37 #32146A #4A1E9D #6327D1

Accessibility & contrast

On white

14.54
#32146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#32146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32146A
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32146A#FFFFFF#000000##FFFFFF
##32146A1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#1F2C3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #32146a;
/* rgb */ color: rgb(50, 20, 106);
/* oklch */ color: oklch(29.7% 0.137 291.6);
Tailwind
colors: {
  custom: {
    50: '#715595',
    500: '#32146a',
    950: '#000000',
  },
}
SCSS
$custom: #32146a;
$custom-light: #715595;
$custom-dark: #000000;
JSON
{
  "hex": "#32146a",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 260.93,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29719,
    "c": 0.13705,
    "h": 291.6
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#32146A
secondary
#7DA139
accent
#EB3DAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32146A

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

Preview Lab → · Contrast checker → · Palette generator →

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