#32126F#32126F

#32126F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.145 H 290.3°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#32126F
RGBrgb(50, 18, 111)
HSLhsl(261, 72%, 25%)
HSVhsv(261, 84%, 44%)
CMYKcmyk(55%, 83.8%, 0%, 56.5%)
CIE-LABlab(16.79, 38.21, -47.31)
CIE-LCHlch(16.79, 60.81, 308.92°)
OKLaboklab(30.01% 0.0504 -0.136)
OKLCHoklch(30.01% 0.145 290.3)
XYZxyz(4.4001, 2.2582, 15.2399)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32126F #4F6F12
analogous
#12216F #32126F #60126F
triadic
#32126F #6F3212 #126F32
tetradic
#32126F #6F1221 #4F6F12 #126F60
square
#32126F #6F1221 #4F6F12 #126F60
split-complementary
#32126F #6F6012 #216F12
monochromatic
#0C041A #1A093A #32126F #4A1BA4 #6123D8

Accessibility & contrast

On white

14.47
#32126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#32126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32126F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32126F#FFFFFF#000000##FFFFFF
##32126F1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#1B2D41
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #32126f;
/* rgb */ color: rgb(50, 18, 111);
/* oklch */ color: oklch(30.0% 0.145 290.3);
Tailwind
colors: {
  custom: {
    50: '#725599',
    500: '#32126f',
    950: '#000000',
  },
}
SCSS
$custom: #32126f;
$custom-light: #725599;
$custom-dark: #000000;
JSON
{
  "hex": "#32126f",
  "rgb": {
    "r": 50,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 260.645,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.14505,
    "h": 290.3
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#32126F
secondary
#80A637
accent
#EF39B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #32126F

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

Preview Lab → · Contrast checker → · Palette generator →

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