#45174A#45174A

#45174A is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.0% C 0.101 H 323.7°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#45174A
RGBrgb(69, 23, 74)
HSLhsl(294, 53%, 19%)
HSVhsv(294, 69%, 29%)
CMYKcmyk(6.8%, 68.9%, 0%, 71%)
CIE-LABlab(17.33, 30.19, -21.59)
CIE-LCHlch(17.33, 37.12, 324.44°)
OKLaboklab(30.03% 0.0815 -0.0599)
OKLCHoklch(30.03% 0.101 323.7)
XYZxyz(3.9966, 2.3726, 6.7247)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45174A #1C4A17
analogous
#2C174A #45174A #4A1736
triadic
#45174A #4A4517 #174A45
tetradic
#45174A #4A2C17 #1C4A17 #17364A
square
#45174A #4A2C17 #1C4A17 #17364A
split-complementary
#45174A #364A17 #174A2C
monochromatic
#160717 #19081B #45174A #712679 #9C34A7

Accessibility & contrast

On white

14.24
#45174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#45174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45174A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45174A#FFFFFF#000000##FFFFFF
##45174A1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274C
Deuteranopia (green-blind)
#1F2C49
Tritanopia (blue-blind)
#461F2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45174a;
/* rgb */ color: rgb(69, 23, 74);
/* oklch */ color: oklch(30.0% 0.101 323.7);
Tailwind
colors: {
  custom: {
    50: '#7b587d',
    500: '#45174a',
    950: '#000000',
  },
}
SCSS
$custom: #45174a;
$custom-light: #7b587d;
$custom-dark: #000000;
JSON
{
  "hex": "#45174a",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 294.118,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30025,
    "c": 0.10117,
    "h": 323.7
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#45174A
secondary
#42813C
accent
#DC4C5A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #45174A

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

Preview Lab → · Contrast checker → · Palette generator →

#45174A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva