#45154A#45154A

#45154A is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.104 H 323.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#45154A
RGBrgb(69, 21, 74)
HSLhsl(294, 56%, 19%)
HSVhsv(294, 72%, 29%)
CMYKcmyk(6.8%, 71.6%, 0%, 71%)
CIE-LABlab(16.97, 31.20, -22.16)
CIE-LCHlch(16.97, 38.27, 324.61°)
OKLaboklab(29.76% 0.0843 -0.0616)
OKLCHoklch(29.76% 0.104 323.8)
XYZxyz(3.9583, 2.2962, 6.7119)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45154A #1A4A15
analogous
#2A154A #45154A #4A1534
triadic
#45154A #4A4515 #154A45
tetradic
#45154A #4A2A15 #1A4A15 #15344A
square
#45154A #4A2A15 #1A4A15 #15344A
split-complementary
#45154A #344A15 #154A2A
monochromatic
#160718 #19071A #45154A #71237A #9E30A9

Accessibility & contrast

On white

14.39
#45154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#45154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45154A
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45154A#FFFFFF#000000##FFFFFF
##45154A1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45154a;
/* rgb */ color: rgb(69, 21, 74);
/* oklch */ color: oklch(29.8% 0.104 323.8);
Tailwind
colors: {
  custom: {
    50: '#7b577d',
    500: '#45154a',
    950: '#000000',
  },
}
SCSS
$custom: #45154a;
$custom-light: #7b577d;
$custom-dark: #000000;
JSON
{
  "hex": "#45154a",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 294.34,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29763,
    "c": 0.10437,
    "h": 323.8
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#45154A
secondary
#408239
accent
#DF4957
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #45154A

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

Preview Lab → · Contrast checker → · Palette generator →

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