#45174B#45174B

#45174B is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.1% C 0.102 H 322.9°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#45174B
RGBrgb(69, 23, 75)
HSLhsl(293, 53%, 19%)
HSVhsv(293, 69%, 29%)
CMYKcmyk(8%, 69.3%, 0%, 70.6%)
CIE-LABlab(17.40, 30.41, -22.17)
CIE-LCHlch(17.40, 37.63, 323.91°)
OKLaboklab(30.09% 0.0815 -0.0616)
OKLCHoklch(30.09% 0.102 322.9)
XYZxyz(4.0305, 2.3862, 6.9035)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45174B #1D4B17
analogous
#2B174B #45174B #4B1737
triadic
#45174B #4B4517 #174B45
tetradic
#45174B #4B2B17 #1D4B17 #17374B
square
#45174B #4B2B17 #1D4B17 #17374B
split-complementary
#45174B #374B17 #174B2B
monochromatic
#160717 #1A091C #45174B #70257A #9B34A9

Accessibility & contrast

On white

14.22
#45174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45174B
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45174B#FFFFFF#000000##FFFFFF
##45174B1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45174b;
/* rgb */ color: rgb(69, 23, 75);
/* oklch */ color: oklch(30.1% 0.102 322.9);
Tailwind
colors: {
  custom: {
    50: '#7b587d',
    500: '#45174b',
    950: '#000000',
  },
}
SCSS
$custom: #45174b;
$custom-light: #7b587d;
$custom-dark: #000000;
JSON
{
  "hex": "#45174b",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 293.077,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30092,
    "c": 0.10222,
    "h": 322.9
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#45174B
secondary
#44823C
accent
#DC4B5C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #45174B

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

Preview Lab → · Contrast checker → · Palette generator →

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