#32145C#32145C

#32145C is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.120 H 297.0°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#32145C
RGBrgb(50, 20, 92)
HSLhsl(265, 64%, 22%)
HSVhsv(265, 78%, 36%)
CMYKcmyk(45.7%, 78.3%, 0%, 63.9%)
CIE-LABlab(15.23, 31.69, -37.33)
CIE-LCHlch(15.23, 48.97, 310.33°)
OKLaboklab(28.34% 0.0545 -0.1068)
OKLCHoklch(28.34% 0.12 297)
XYZxyz(3.4968, 1.9511, 10.3155)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32145C #3E5C14
analogous
#141A5C #32145C #56145C
triadic
#32145C #5C3214 #145C32
tetradic
#32145C #5C141A #3E5C14 #145C56
square
#32145C #5C141A #3E5C14 #145C56
split-complementary
#32145C #5C5614 #1A5C14
monochromatic
#0E0519 #17092A #32145C #4D1F8E #692AC1

Accessibility & contrast

On white

15.11
#32145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32145C
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32145C#FFFFFF#000000##FFFFFF
##32145C1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#272636
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32145c;
/* rgb */ color: rgb(50, 20, 92);
/* oklch */ color: oklch(28.3% 0.120 297.0);
Tailwind
colors: {
  custom: {
    50: '#6f558b',
    500: '#32145c',
    950: '#000000',
  },
}
SCSS
$custom: #32145c;
$custom-light: #6f558b;
$custom-dark: #000000;
JSON
{
  "hex": "#32145c",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 265,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28338,
    "c": 0.11987,
    "h": 297
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#32145C
secondary
#6E9438
accent
#E741A2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32145C

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

Preview Lab → · Contrast checker → · Palette generator →

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