#32148E#32148E

#32148E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.179 H 282.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#32148E
RGBrgb(50, 20, 142)
HSLhsl(255, 75%, 32%)
HSVhsv(255, 86%, 56%)
CMYKcmyk(64.8%, 85.9%, 0%, 44.3%)
CIE-LABlab(20.56, 46.32, -60.81)
CIE-LCHlch(20.56, 76.44, 307.30°)
OKLaboklab(33.64% 0.0378 -0.1754)
OKLCHoklch(33.64% 0.179 282.1)
XYZxyz(6.4465, 3.1309, 25.8506)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32148E #708E14
analogous
#14338E #32148E #6F148E
triadic
#32148E #8E3214 #148E32
tetradic
#32148E #8E1433 #708E14 #148E6F
square
#32148E #8E1433 #708E14 #148E6F
split-complementary
#32148E #8E6F14 #338E14
monochromatic
#0C0523 #1F0C58 #32148E #451CC4 #6339E3

Accessibility & contrast

On white

12.91
#32148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#32148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32148E
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32148E#FFFFFF#000000##FFFFFF
##32148E1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32148e;
/* rgb */ color: rgb(50, 20, 142);
/* oklch */ color: oklch(33.6% 0.179 282.1);
Tailwind
colors: {
  custom: {
    50: '#7858b0',
    500: '#32148e',
    950: '#000000',
  },
}
SCSS
$custom: #32148e;
$custom-light: #7858b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32148e",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 254.754,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3364,
    "c": 0.17942,
    "h": 282.1
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#32148E
secondary
#A1C23C
accent
#F236C4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #32148E

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

Preview Lab → · Contrast checker → · Palette generator →

#32148E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva