#32145E#32145E

#32145E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.122 H 296.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#32145E
RGBrgb(50, 20, 94)
HSLhsl(264, 65%, 22%)
HSVhsv(264, 79%, 37%)
CMYKcmyk(46.8%, 78.7%, 0%, 63.1%)
CIE-LABlab(15.42, 32.27, -38.36)
CIE-LCHlch(15.42, 50.13, 310.07°)
OKLaboklab(28.53% 0.054 -0.1098)
OKLCHoklch(28.53% 0.122 296.2)
XYZxyz(3.5854, 1.9865, 10.7820)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32145E #405E14
analogous
#141B5E #32145E #57145E
triadic
#32145E #5E3214 #145E32
tetradic
#32145E #5E141B #405E14 #145E57
square
#32145E #5E141B #405E14 #145E57
split-complementary
#32145E #5E5714 #1B5E14
monochromatic
#0D0519 #17092C #32145E #4D1F90 #6829C3

Accessibility & contrast

On white

15.03
#32145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32145E
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32145E#FFFFFF#000000##FFFFFF
##32145E1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#262738
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32145e;
/* rgb */ color: rgb(50, 20, 94);
/* oklch */ color: oklch(28.5% 0.122 296.2);
Tailwind
colors: {
  custom: {
    50: '#6f558c',
    500: '#32145e',
    950: '#000000',
  },
}
SCSS
$custom: #32145e;
$custom-light: #6f558c;
$custom-dark: #000000;
JSON
{
  "hex": "#32145e",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 264.324,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28529,
    "c": 0.12235,
    "h": 296.2
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#32145E
secondary
#709638
accent
#E840A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32145E

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

Preview Lab → · Contrast checker → · Palette generator →

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