#32148F#32148F

#32148F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.181 H 282.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#32148F
RGBrgb(50, 20, 143)
HSLhsl(255, 75%, 32%)
HSVhsv(255, 86%, 56%)
CMYKcmyk(65%, 86%, 0%, 43.9%)
CIE-LABlab(20.68, 46.60, -61.23)
CIE-LCHlch(20.68, 76.95, 307.27°)
OKLaboklab(33.76% 0.0374 -0.1766)
OKLCHoklch(33.76% 0.181 282)
XYZxyz(6.5219, 3.1611, 26.2477)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32148F #718F14
analogous
#14348F #32148F #70148F
triadic
#32148F #8F3214 #148F32
tetradic
#32148F #8F1434 #718F14 #148F70
square
#32148F #8F1434 #718F14 #148F70
split-complementary
#32148F #8F7014 #348F14
monochromatic
#0C0524 #1F0C59 #32148F #451CC5 #633AE3

Accessibility & contrast

On white

12.86
#32148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32148F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32148F#FFFFFF#000000##FFFFFF
##32148F1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32148f;
/* rgb */ color: rgb(50, 20, 143);
/* oklch */ color: oklch(33.8% 0.181 282.0);
Tailwind
colors: {
  custom: {
    50: '#7858b1',
    500: '#32148f',
    950: '#000000',
  },
}
SCSS
$custom: #32148f;
$custom-light: #7858b1;
$custom-dark: #000000;
JSON
{
  "hex": "#32148f",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 254.634,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33755,
    "c": 0.18056,
    "h": 282
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32148F

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

Preview Lab → · Contrast checker → · Palette generator →

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