#32147B#32147B

#32147B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.157 H 286.5°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#32147B
RGBrgb(50, 20, 123)
HSLhsl(257, 72%, 28%)
HSVhsv(257, 84%, 48%)
CMYKcmyk(59.3%, 83.7%, 0%, 51.8%)
CIE-LABlab(18.40, 40.79, -52.39)
CIE-LCHlch(18.40, 66.40, 307.91°)
OKLaboklab(31.52% 0.0447 -0.1509)
OKLCHoklch(31.52% 0.157 286.5)
XYZxyz(5.1396, 2.6082, 18.9677)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32147B #5D7B14
analogous
#14297B #32147B #65147B
triadic
#32147B #7B3214 #147B32
tetradic
#32147B #7B1429 #5D7B14 #147B65
square
#32147B #7B1429 #5D7B14 #147B65
split-complementary
#32147B #7B6514 #297B14
monochromatic
#0B041A #1D0B46 #32147B #471DB0 #602DDD

Accessibility & contrast

On white

13.80
#32147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#32147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32147B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32147B#FFFFFF#000000##FFFFFF
##32147B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#0D3348
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #32147b;
/* rgb */ color: rgb(50, 20, 123);
/* oklch */ color: oklch(31.5% 0.157 286.5);
Tailwind
colors: {
  custom: {
    50: '#7457a2',
    500: '#32147b',
    950: '#000000',
  },
}
SCSS
$custom: #32147b;
$custom-light: #7457a2;
$custom-dark: #000000;
JSON
{
  "hex": "#32147b",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 257.476,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31517,
    "c": 0.15736,
    "h": 286.5
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#32147B
secondary
#8EB13A
accent
#EF39BA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32147B

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

Preview Lab → · Contrast checker → · Palette generator →

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