#45173F#45173F

#45173F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.090 H 333.0°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#45173F
RGBrgb(69, 23, 63)
HSLhsl(308, 50%, 18%)
HSVhsv(308, 67%, 27%)
CMYKcmyk(0%, 66.7%, 8.7%, 72.9%)
CIE-LABlab(16.69, 27.92, -14.98)
CIE-LCHlch(16.69, 31.69, 331.79°)
OKLaboklab(29.34% 0.0803 -0.0409)
OKLCHoklch(29.34% 0.09 333)
XYZxyz(3.6578, 2.2372, 4.9408)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45173F #17451D
analogous
#341745 #45173F #451728
triadic
#45173F #3F4517 #173F45
tetradic
#45173F #453417 #17451D #172845
square
#45173F #453417 #17451D #172845
split-complementary
#45173F #284517 #174534
monochromatic
#170815 #170815 #45173F #732669 #A13693

Accessibility & contrast

On white

14.51
#45173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#45173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45173F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45173F#FFFFFF#000000##FFFFFF
##45173F1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162540
Deuteranopia (green-blind)
#242C3E
Tritanopia (blue-blind)
#481B28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #45173f;
/* rgb */ color: rgb(69, 23, 63);
/* oklch */ color: oklch(29.3% 0.090 333.0);
Tailwind
colors: {
  custom: {
    50: '#7a5774',
    500: '#45173f',
    950: '#000000',
  },
}
SCSS
$custom: #45173f;
$custom-light: #7a5774;
$custom-dark: #000000;
JSON
{
  "hex": "#45173f",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 307.826,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29344,
    "c": 0.09011,
    "h": 333
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#45173F
secondary
#3C7C44
accent
#DA604E
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #45173F

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

Preview Lab → · Contrast checker → · Palette generator →

#45173F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva