#45164A#45164A

#45164A is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.103 H 323.7°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#45164A
RGBrgb(69, 22, 74)
HSLhsl(294, 54%, 19%)
HSVhsv(294, 70%, 29%)
CMYKcmyk(6.8%, 70.3%, 0%, 71%)
CIE-LABlab(17.15, 30.70, -21.88)
CIE-LCHlch(17.15, 37.70, 324.53°)
OKLaboklab(29.89% 0.0829 -0.0608)
OKLCHoklch(29.89% 0.103 323.7)
XYZxyz(3.9771, 2.3337, 6.7182)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45164A #1B4A16
analogous
#2B164A #45164A #4A1635
triadic
#45164A #4A4516 #164A45
tetradic
#45164A #4A2B16 #1B4A16 #16354A
square
#45164A #4A2B16 #1B4A16 #16354A
split-complementary
#45164A #354A16 #164A2B
monochromatic
#160718 #19081B #45164A #712479 #9D32A8

Accessibility & contrast

On white

14.32
#45164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45164A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45164A#FFFFFF#000000##FFFFFF
##45164A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B274C
Deuteranopia (green-blind)
#1E2C49
Tritanopia (blue-blind)
#461E2D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #45164a;
/* rgb */ color: rgb(69, 22, 74);
/* oklch */ color: oklch(29.9% 0.103 323.7);
Tailwind
colors: {
  custom: {
    50: '#7b577d',
    500: '#45164a',
    950: '#000000',
  },
}
SCSS
$custom: #45164a;
$custom-light: #7b577d;
$custom-dark: #000000;
JSON
{
  "hex": "#45164a",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 294.231,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29892,
    "c": 0.10279,
    "h": 323.7
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#45164A
secondary
#41823A
accent
#DE4A58
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #45164A

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

Preview Lab → · Contrast checker → · Palette generator →

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