#32124F#32124F

#32124F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.106 H 304.0°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#32124F
RGBrgb(50, 18, 79)
HSLhsl(271, 63%, 19%)
HSVhsv(271, 77%, 31%)
CMYKcmyk(36.7%, 77.2%, 0%, 69%)
CIE-LABlab(13.68, 29.07, -31.04)
CIE-LCHlch(13.68, 42.53, 313.12°)
OKLaboklab(26.88% 0.0595 -0.0883)
OKLCHoklch(26.88% 0.106 304)
XYZxyz(2.9427, 1.6752, 7.5639)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32124F #2F4F12
analogous
#13124F #32124F #4F124E
triadic
#32124F #4F3212 #124F32
tetradic
#32124F #4F1312 #2F4F12 #124E4F
square
#32124F #4F1312 #2F4F12 #124E4F
split-complementary
#32124F #4E4F12 #124F13
monochromatic
#100619 #12071D #32124F #521D81 #7129B3

Accessibility & contrast

On white

15.73
#32124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#32124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32124F
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32124F#FFFFFF#000000##FFFFFF
##32124F1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#2C202F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #32124f;
/* rgb */ color: rgb(50, 18, 79);
/* oklch */ color: oklch(26.9% 0.106 304.0);
Tailwind
colors: {
  custom: {
    50: '#6d5381',
    500: '#32124f',
    950: '#000000',
  },
}
SCSS
$custom: #32124f;
$custom-light: #6d5381;
$custom-dark: #000000;
JSON
{
  "hex": "#32124f",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 271.475,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26876,
    "c": 0.10649,
    "h": 304
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#32124F
secondary
#5C8835
accent
#E64290
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #32124F

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

Preview Lab → · Contrast checker → · Palette generator →

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