#32125A#32125A

#32125A is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.9% C 0.120 H 298.4°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#32125A
RGBrgb(50, 18, 90)
HSLhsl(267, 67%, 21%)
HSVhsv(267, 80%, 35%)
CMYKcmyk(44.4%, 80%, 0%, 64.7%)
CIE-LABlab(14.67, 32.16, -36.90)
CIE-LCHlch(14.67, 48.94, 311.07°)
OKLaboklab(27.89% 0.057 -0.1055)
OKLCHoklch(27.89% 0.12 298.4)
XYZxyz(3.3767, 1.8489, 9.8498)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32125A #3A5A12
analogous
#12165A #32125A #56125A
triadic
#32125A #5A3212 #125A32
tetradic
#32125A #5A1216 #3A5A12 #125A56
square
#32125A #5A1216 #3A5A12 #125A56
split-complementary
#32125A #5A5612 #165A12
monochromatic
#0E051A #160827 #32125A #4E1C8D #6B26C0

Accessibility & contrast

On white

15.33
#32125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#32125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32125A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32125A#FFFFFF#000000##FFFFFF
##32125A1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#282535
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32125a;
/* rgb */ color: rgb(50, 18, 90);
/* oklch */ color: oklch(27.9% 0.120 298.4);
Tailwind
colors: {
  custom: {
    50: '#6f5389',
    500: '#32125a',
    950: '#000000',
  },
}
SCSS
$custom: #32125a;
$custom-light: #6f5389;
$custom-dark: #000000;
JSON
{
  "hex": "#32125a",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 266.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27888,
    "c": 0.11992,
    "h": 298.4
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#32125A
secondary
#699335
accent
#EA3E9D
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32125A

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

Preview Lab → · Contrast checker → · Palette generator →

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