#32126A#32126A

#32126A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.139 H 292.0°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#32126A
RGBrgb(50, 18, 106)
HSLhsl(262, 71%, 24%)
HSVhsv(262, 83%, 42%)
CMYKcmyk(52.8%, 83%, 0%, 58.4%)
CIE-LABlab(16.26, 36.76, -44.91)
CIE-LCHlch(16.26, 58.04, 309.30°)
OKLaboklab(29.49% 0.0521 -0.129)
OKLCHoklch(29.49% 0.139 292)
XYZxyz(4.1325, 2.1512, 13.8304)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32126A #4A6A12
analogous
#121E6A #32126A #5E126A
triadic
#32126A #6A3212 #126A32
tetradic
#32126A #6A121E #4A6A12 #126A5E
square
#32126A #6A121E #4A6A12 #126A5E
split-complementary
#32126A #6A5E12 #1E6A12
monochromatic
#0C041A #190936 #32126A #4B1B9E #6324D3

Accessibility & contrast

On white

14.68
#32126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#32126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32126A
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32126A#FFFFFF#000000##FFFFFF
##32126A1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#1F2B3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #32126a;
/* rgb */ color: rgb(50, 18, 106);
/* oklch */ color: oklch(29.5% 0.139 292.0);
Tailwind
colors: {
  custom: {
    50: '#715496',
    500: '#32126a',
    950: '#000000',
  },
}
SCSS
$custom: #32126a;
$custom-light: #715496;
$custom-dark: #000000;
JSON
{
  "hex": "#32126a",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 261.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29486,
    "c": 0.13913,
    "h": 292
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#32126A
secondary
#7BA236
accent
#EE3AAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32126A

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

Preview Lab → · Contrast checker → · Palette generator →

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