#32124D#32124D

#32124D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.104 H 305.1°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#32124D
RGBrgb(50, 18, 77)
HSLhsl(273, 62%, 19%)
HSVhsv(273, 77%, 30%)
CMYKcmyk(35.1%, 76.6%, 0%, 69.8%)
CIE-LABlab(13.51, 28.51, -29.94)
CIE-LCHlch(13.51, 41.35, 313.60°)
OKLaboklab(26.7% 0.0599 -0.0851)
OKLCHoklch(26.7% 0.104 305.1)
XYZxyz(2.8710, 1.6466, 7.1863)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32124D #2D4D12
analogous
#14124D #32124D #4D124A
triadic
#32124D #4D3212 #124D32
tetradic
#32124D #4D1412 #2D4D12 #124A4D
square
#32124D #4D1412 #2D4D12 #124A4D
split-complementary
#32124D #4A4D12 #124D14
monochromatic
#100619 #12061B #32124D #521E7F #7229B0

Accessibility & contrast

On white

15.80
#32124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#32124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32124D
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32124D#FFFFFF#000000##FFFFFF
##32124D1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#00234C
Tritanopia (blue-blind)
#2D202E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #32124d;
/* rgb */ color: rgb(50, 18, 77);
/* oklch */ color: oklch(26.7% 0.104 305.1);
Tailwind
colors: {
  custom: {
    50: '#6d537f',
    500: '#32124d',
    950: '#000000',
  },
}
SCSS
$custom: #32124d;
$custom-light: #6d537f;
$custom-dark: #000000;
JSON
{
  "hex": "#32124d",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 272.542,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26701,
    "c": 0.10403,
    "h": 305.1
  },
  "luminance": 0.01647
}

Semantic roles & 50–950 ramp

primary
#32124D
secondary
#5A8635
accent
#E5438D
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #32124D

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

Preview Lab → · Contrast checker → · Palette generator →

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