#32124E#32124E

#32124E is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.105 H 304.6°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#32124E
RGBrgb(50, 18, 78)
HSLhsl(272, 63%, 19%)
HSVhsv(272, 77%, 31%)
CMYKcmyk(35.9%, 76.9%, 0%, 69.4%)
CIE-LABlab(13.60, 28.79, -30.49)
CIE-LCHlch(13.60, 41.94, 313.35°)
OKLaboklab(26.79% 0.0597 -0.0867)
OKLCHoklch(26.79% 0.105 304.6)
XYZxyz(2.9065, 1.6608, 7.3737)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32124E #2E4E12
analogous
#14124E #32124E #4E124C
triadic
#32124E #4E3212 #124E32
tetradic
#32124E #4E1412 #2E4E12 #124C4E
square
#32124E #4E1412 #2E4E12 #124C4E
split-complementary
#32124E #4C4E12 #124E14
monochromatic
#100619 #12071C #32124E #521D80 #7229B1

Accessibility & contrast

On white

15.76
#32124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32124E
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32124E#FFFFFF#000000##FFFFFF
##32124E1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#2D202E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #32124e;
/* rgb */ color: rgb(50, 18, 78);
/* oklch */ color: oklch(26.8% 0.105 304.6);
Tailwind
colors: {
  custom: {
    50: '#6d5380',
    500: '#32124e',
    950: '#000000',
  },
}
SCSS
$custom: #32124e;
$custom-light: #6d5380;
$custom-dark: #000000;
JSON
{
  "hex": "#32124e",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 272,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26788,
    "c": 0.10526,
    "h": 304.6
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#32124E
secondary
#5B8735
accent
#E6428E
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #32124E

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

Preview Lab → · Contrast checker → · Palette generator →

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