#32145B#32145B

#32145B is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.119 H 297.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#32145B
RGBrgb(50, 20, 91)
HSLhsl(265, 64%, 22%)
HSVhsv(265, 78%, 36%)
CMYKcmyk(45.1%, 78%, 0%, 64.3%)
CIE-LABlab(15.14, 31.40, -36.81)
CIE-LCHlch(15.14, 48.39, 310.46°)
OKLaboklab(28.24% 0.0547 -0.1053)
OKLCHoklch(28.24% 0.119 297.5)
XYZxyz(3.4534, 1.9337, 10.0868)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32145B #3D5B14
analogous
#141A5B #32145B #56145B
triadic
#32145B #5B3214 #145B32
tetradic
#32145B #5B141A #3D5B14 #145B56
square
#32145B #5B141A #3D5B14 #145B56
split-complementary
#32145B #5B5614 #1A5B14
monochromatic
#0E0619 #160929 #32145B #4E1F8D #692ABF

Accessibility & contrast

On white

15.14
#32145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#32145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32145B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32145B#FFFFFF#000000##FFFFFF
##32145B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#282636
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32145b;
/* rgb */ color: rgb(50, 20, 91);
/* oklch */ color: oklch(28.2% 0.119 297.5);
Tailwind
colors: {
  custom: {
    50: '#6f558a',
    500: '#32145b',
    950: '#000000',
  },
}
SCSS
$custom: #32145b;
$custom-light: #6f558a;
$custom-dark: #000000;
JSON
{
  "hex": "#32145b",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 265.352,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28243,
    "c": 0.11864,
    "h": 297.5
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#32145B
secondary
#6C9338
accent
#E741A1
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32145B

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

Preview Lab → · Contrast checker → · Palette generator →

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