#32145F#32145F

#32145F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.124 H 295.7°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#32145F
RGBrgb(50, 20, 95)
HSLhsl(264, 65%, 23%)
HSVhsv(264, 79%, 37%)
CMYKcmyk(47.4%, 78.9%, 0%, 62.7%)
CIE-LABlab(15.51, 32.57, -38.87)
CIE-LCHlch(15.51, 50.71, 309.95°)
OKLaboklab(28.63% 0.0537 -0.1113)
OKLCHoklch(28.63% 0.124 295.7)
XYZxyz(3.6306, 2.0046, 11.0199)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32145F #415F14
analogous
#141C5F #32145F #57145F
triadic
#32145F #5F3214 #145F32
tetradic
#32145F #5F141C #415F14 #145F57
square
#32145F #5F141C #415F14 #145F57
split-complementary
#32145F #5F5714 #1C5F14
monochromatic
#0D0519 #17092C #32145F #4D1F92 #6729C4

Accessibility & contrast

On white

14.99
#32145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#32145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32145F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32145F#FFFFFF#000000##FFFFFF
##32145F1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#262838
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32145f;
/* rgb */ color: rgb(50, 20, 95);
/* oklch */ color: oklch(28.6% 0.124 295.7);
Tailwind
colors: {
  custom: {
    50: '#6f558d',
    500: '#32145f',
    950: '#000000',
  },
}
SCSS
$custom: #32145f;
$custom-light: #6f558d;
$custom-dark: #000000;
JSON
{
  "hex": "#32145f",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 264,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28625,
    "c": 0.12359,
    "h": 295.7
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#32145F
secondary
#719738
accent
#E840A5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32145F

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

Preview Lab → · Contrast checker → · Palette generator →

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