#32124A#32124A

#32124A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.100 H 307.0°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#32124A
RGBrgb(50, 18, 74)
HSLhsl(274, 61%, 18%)
HSVhsv(274, 76%, 29%)
CMYKcmyk(32.4%, 75.7%, 0%, 71%)
CIE-LABlab(13.26, 27.69, -28.28)
CIE-LCHlch(13.26, 39.58, 314.40°)
OKLaboklab(26.44% 0.0603 -0.0802)
OKLCHoklch(26.44% 0.1 307)
XYZxyz(2.7675, 1.6052, 6.6413)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32124A #2A4A12
analogous
#16124A #32124A #4A1246
triadic
#32124A #4A3212 #124A32
tetradic
#32124A #4A1612 #2A4A12 #12464A
square
#32124A #4A1612 #2A4A12 #12464A
split-complementary
#32124A #464A12 #124A16
monochromatic
#110619 #110619 #32124A #531E7B #752AAC

Accessibility & contrast

On white

15.90
#32124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#32124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32124A
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32124A#FFFFFF#000000##FFFFFF
##32124A1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#042249
Tritanopia (blue-blind)
#2E1E2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #32124a;
/* rgb */ color: rgb(50, 18, 74);
/* oklch */ color: oklch(26.4% 0.100 307.0);
Tailwind
colors: {
  custom: {
    50: '#6d537d',
    500: '#32124a',
    950: '#000000',
  },
}
SCSS
$custom: #32124a;
$custom-light: #6d537d;
$custom-dark: #000000;
JSON
{
  "hex": "#32124a",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 274.286,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26444,
    "c": 0.10033,
    "h": 307
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#32124A
secondary
#568335
accent
#E44488
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #32124A

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

Preview Lab → · Contrast checker → · Palette generator →

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