#32145D#32145D

#32145D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.4% C 0.121 H 296.6°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#32145D
RGBrgb(50, 20, 93)
HSLhsl(265, 65%, 22%)
HSVhsv(265, 78%, 36%)
CMYKcmyk(46.2%, 78.5%, 0%, 63.5%)
CIE-LABlab(15.32, 31.98, -37.85)
CIE-LCHlch(15.32, 49.55, 310.20°)
OKLaboklab(28.43% 0.0542 -0.1083)
OKLCHoklch(28.43% 0.121 296.6)
XYZxyz(3.5408, 1.9687, 10.5472)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32145D #3F5D14
analogous
#141A5D #32145D #57145D
triadic
#32145D #5D3214 #145D32
tetradic
#32145D #5D141A #3F5D14 #145D57
square
#32145D #5D141A #3F5D14 #145D57
split-complementary
#32145D #5D5714 #1A5D14
monochromatic
#0E0519 #17092B #32145D #4D1F8F #682AC2

Accessibility & contrast

On white

15.07
#32145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32145D
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32145D#FFFFFF#000000##FFFFFF
##32145D1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#272737
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32145d;
/* rgb */ color: rgb(50, 20, 93);
/* oklch */ color: oklch(28.4% 0.121 296.6);
Tailwind
colors: {
  custom: {
    50: '#6f558c',
    500: '#32145d',
    950: '#000000',
  },
}
SCSS
$custom: #32145d;
$custom-light: #6f558c;
$custom-dark: #000000;
JSON
{
  "hex": "#32145d",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 264.658,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28433,
    "c": 0.12112,
    "h": 296.6
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#32145D
secondary
#6F9538
accent
#E840A3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32145D

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

Preview Lab → · Contrast checker → · Palette generator →

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