#32125D#32125D

#32125D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.124 H 297.1°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#32125D
RGBrgb(50, 18, 93)
HSLhsl(266, 68%, 22%)
HSVhsv(266, 81%, 36%)
CMYKcmyk(46.2%, 80.6%, 0%, 63.5%)
CIE-LABlab(14.96, 33.01, -38.44)
CIE-LCHlch(14.96, 50.67, 310.66°)
OKLaboklab(28.18% 0.0562 -0.11)
OKLCHoklch(28.18% 0.124 297.1)
XYZxyz(3.5070, 1.9010, 10.5360)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32125D #3D5D12
analogous
#12185D #32125D #58125D
triadic
#32125D #5D3212 #125D32
tetradic
#32125D #5D1218 #3D5D12 #125D58
square
#32125D #5D1218 #3D5D12 #125D58
split-complementary
#32125D #5D5812 #185D12
monochromatic
#0E051A #16082A #32125D #4E1C90 #6926C4

Accessibility & contrast

On white

15.22
#32125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#32125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32125D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32125D#FFFFFF#000000##FFFFFF
##32125D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#272637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32125d;
/* rgb */ color: rgb(50, 18, 93);
/* oklch */ color: oklch(28.2% 0.124 297.1);
Tailwind
colors: {
  custom: {
    50: '#6f548c',
    500: '#32125d',
    950: '#000000',
  },
}
SCSS
$custom: #32125d;
$custom-light: #6f548c;
$custom-dark: #000000;
JSON
{
  "hex": "#32125d",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 265.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28177,
    "c": 0.12356,
    "h": 297.1
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#32125D
secondary
#6C9535
accent
#EA3DA1
background
#F6F4F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32125D

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

Preview Lab → · Contrast checker → · Palette generator →

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