#32147D#32147D

#32147D is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.160 H 286.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#32147D
RGBrgb(50, 20, 125)
HSLhsl(257, 72%, 28%)
HSVhsv(257, 84%, 49%)
CMYKcmyk(60%, 84%, 0%, 51%)
CIE-LABlab(18.62, 41.38, -53.30)
CIE-LCHlch(18.62, 67.48, 307.83°)
OKLaboklab(31.74% 0.044 -0.1535)
OKLCHoklch(31.74% 0.16 286)
XYZxyz(5.2661, 2.6588, 19.6338)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32147D #5F7D14
analogous
#142A7D #32147D #66147D
triadic
#32147D #7D3214 #147D32
tetradic
#32147D #7D142A #5F7D14 #147D66
square
#32147D #7D142A #5F7D14 #147D66
split-complementary
#32147D #7D6614 #2A7D14
monochromatic
#0B041A #1D0C48 #32147D #471CB2 #602EDE

Accessibility & contrast

On white

13.71
#32147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#32147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32147D
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32147D#FFFFFF#000000##FFFFFF
##32147D1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#093449
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #32147d;
/* rgb */ color: rgb(50, 20, 125);
/* oklch */ color: oklch(31.7% 0.160 286.0);
Tailwind
colors: {
  custom: {
    50: '#7457a4',
    500: '#32147d',
    950: '#000000',
  },
}
SCSS
$custom: #32147d;
$custom-light: #7457a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32147d",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 257.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31735,
    "c": 0.15971,
    "h": 286
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#32147D
secondary
#90B23A
accent
#EF39BB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32147D

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

Preview Lab → · Contrast checker → · Palette generator →

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