#32124C#32124C

#32124C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.103 H 305.7°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#32124C
RGBrgb(50, 18, 76)
HSLhsl(273, 62%, 18%)
HSVhsv(273, 76%, 30%)
CMYKcmyk(34.2%, 76.3%, 0%, 70.2%)
CIE-LABlab(13.43, 28.24, -29.39)
CIE-LCHlch(13.43, 40.76, 313.86°)
OKLaboklab(26.62% 0.0601 -0.0834)
OKLCHoklch(26.62% 0.103 305.7)
XYZxyz(2.8359, 1.6325, 7.0018)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32124C #2C4C12
analogous
#15124C #32124C #4C1249
triadic
#32124C #4C3212 #124C32
tetradic
#32124C #4C1512 #2C4C12 #12494C
square
#32124C #4C1512 #2C4C12 #12494C
split-complementary
#32124C #494C12 #124C15
monochromatic
#100619 #11061B #32124C #531E7D #7329AF

Accessibility & contrast

On white

15.83
#32124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32124C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32124C#FFFFFF#000000##FFFFFF
##32124C1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#01234B
Tritanopia (blue-blind)
#2D1F2D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #32124c;
/* rgb */ color: rgb(50, 18, 76);
/* oklch */ color: oklch(26.6% 0.103 305.7);
Tailwind
colors: {
  custom: {
    50: '#6d537e',
    500: '#32124c',
    950: '#000000',
  },
}
SCSS
$custom: #32124c;
$custom-light: #6d537e;
$custom-dark: #000000;
JSON
{
  "hex": "#32124c",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 273.103,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26615,
    "c": 0.10279,
    "h": 305.7
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#32124C
secondary
#598535
accent
#E5438C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #32124C

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

Preview Lab → · Contrast checker → · Palette generator →

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