#32125B#32125B

#32125B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.121 H 297.9°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#32125B
RGBrgb(50, 18, 91)
HSLhsl(266, 67%, 21%)
HSVhsv(266, 80%, 36%)
CMYKcmyk(45.1%, 80.2%, 0%, 64.3%)
CIE-LABlab(14.77, 32.44, -37.41)
CIE-LCHlch(14.77, 49.52, 310.93°)
OKLaboklab(27.98% 0.0568 -0.107)
OKLCHoklch(27.98% 0.121 297.9)
XYZxyz(3.4195, 1.8660, 10.0755)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32125B #3B5B12
analogous
#12175B #32125B #57125B
triadic
#32125B #5B3212 #125B32
tetradic
#32125B #5B1217 #3B5B12 #125B57
square
#32125B #5B1217 #3B5B12 #125B57
split-complementary
#32125B #5B5712 #175B12
monochromatic
#0E051A #160828 #32125B #4E1C8E #6A26C1

Accessibility & contrast

On white

15.29
#32125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32125B
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32125B#FFFFFF#000000##FFFFFF
##32125B1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#282535
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32125b;
/* rgb */ color: rgb(50, 18, 91);
/* oklch */ color: oklch(28.0% 0.121 297.9);
Tailwind
colors: {
  custom: {
    50: '#6f538a',
    500: '#32125b',
    950: '#000000',
  },
}
SCSS
$custom: #32125b;
$custom-light: #6f538a;
$custom-dark: #000000;
JSON
{
  "hex": "#32125b",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 266.301,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27984,
    "c": 0.12114,
    "h": 297.9
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#32125B
secondary
#6A9335
accent
#EA3E9F
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32125B

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

Preview Lab → · Contrast checker → · Palette generator →

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