#45174C#45174C

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

Color values

HEX#45174C
RGBrgb(69, 23, 76)
HSLhsl(292, 54%, 19%)
HSVhsv(292, 70%, 30%)
CMYKcmyk(9.2%, 69.7%, 0%, 70.2%)
CIE-LABlab(17.46, 30.63, -22.75)
CIE-LCHlch(17.46, 38.16, 323.39°)
OKLaboklab(30.16% 0.0816 -0.0633)
OKLCHoklch(30.16% 0.103 322.2)
XYZxyz(4.0650, 2.4000, 7.0852)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45174C #1E4C17
analogous
#2B174C #45174C #4C1739
triadic
#45174C #4C4517 #174C45
tetradic
#45174C #4C2B17 #1E4C17 #17394C
square
#45174C #4C2B17 #1E4C17 #17394C
split-complementary
#45174C #394C17 #174C2B
monochromatic
#150717 #1A091D #45174C #70257B #9A33AA

Accessibility & contrast

On white

14.19
#45174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45174C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45174C#FFFFFF#000000##FFFFFF
##45174C1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B274E
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#461F2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45174c;
/* rgb */ color: rgb(69, 23, 76);
/* oklch */ color: oklch(30.2% 0.103 322.2);
Tailwind
colors: {
  custom: {
    50: '#7b587e',
    500: '#45174c',
    950: '#000000',
  },
}
SCSS
$custom: #45174c;
$custom-light: #7b587e;
$custom-dark: #000000;
JSON
{
  "hex": "#45174c",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 292.075,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30159,
    "c": 0.10327,
    "h": 322.2
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#45174C
secondary
#45833C
accent
#DD4B5E
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #45174C

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

Preview Lab → · Contrast checker → · Palette generator →

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