#45174D#45174D

#45174D is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.104 H 321.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#45174D
RGBrgb(69, 23, 77)
HSLhsl(291, 54%, 20%)
HSVhsv(291, 70%, 30%)
CMYKcmyk(10.4%, 70.1%, 0%, 69.8%)
CIE-LABlab(17.53, 30.85, -23.33)
CIE-LCHlch(17.53, 38.68, 322.90°)
OKLaboklab(30.23% 0.0816 -0.065)
OKLCHoklch(30.23% 0.104 321.4)
XYZxyz(4.1000, 2.4140, 7.2697)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45174D #1F4D17
analogous
#2A174D #45174D #4D173A
triadic
#45174D #4D4517 #174D45
tetradic
#45174D #4D2A17 #1F4D17 #173A4D
square
#45174D #4D2A17 #1F4D17 #173A4D
split-complementary
#45174D #3A4D17 #174D2A
monochromatic
#150718 #1B091E #45174D #6F257C #9933AB

Accessibility & contrast

On white

14.16
#45174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#45174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45174D
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45174D#FFFFFF#000000##FFFFFF
##45174D1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09284F
Deuteranopia (green-blind)
#1D2D4C
Tritanopia (blue-blind)
#46202F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45174d;
/* rgb */ color: rgb(69, 23, 77);
/* oklch */ color: oklch(30.2% 0.104 321.4);
Tailwind
colors: {
  custom: {
    50: '#7b587f',
    500: '#45174d',
    950: '#000000',
  },
}
SCSS
$custom: #45174d;
$custom-light: #7b587f;
$custom-dark: #000000;
JSON
{
  "hex": "#45174d",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 291.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30227,
    "c": 0.10434,
    "h": 321.4
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#45174D
secondary
#46843C
accent
#DD4A60
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #45174D

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

Preview Lab → · Contrast checker → · Palette generator →

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