#45173E#45173E

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

Color values

HEX#45173E
RGBrgb(69, 23, 62)
HSLhsl(309, 50%, 18%)
HSVhsv(309, 67%, 27%)
CMYKcmyk(0%, 66.7%, 10.1%, 72.9%)
CIE-LABlab(16.63, 27.73, -14.37)
CIE-LCHlch(16.63, 31.23, 332.61°)
OKLaboklab(29.29% 0.0801 -0.0391)
OKLCHoklch(29.29% 0.089 334)
XYZxyz(3.6302, 2.2261, 4.7950)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45173E #17451E
analogous
#351745 #45173E #451727
triadic
#45173E #3E4517 #173E45
tetradic
#45173E #453517 #17451E #172745
square
#45173E #453517 #17451E #172745
split-complementary
#45173E #274517 #174535
monochromatic
#170815 #170815 #45173E #732667 #A13690

Accessibility & contrast

On white

14.53
#45173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45173E
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45173E#FFFFFF#000000##FFFFFF
##45173E1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16253F
Deuteranopia (green-blind)
#252C3D
Tritanopia (blue-blind)
#481A28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #45173e;
/* rgb */ color: rgb(69, 23, 62);
/* oklch */ color: oklch(29.3% 0.089 334.0);
Tailwind
colors: {
  custom: {
    50: '#7a5773',
    500: '#45173e',
    950: '#000000',
  },
}
SCSS
$custom: #45173e;
$custom-light: #7a5773;
$custom-dark: #000000;
JSON
{
  "hex": "#45173e",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 309.13,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29286,
    "c": 0.08917,
    "h": 334
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#45173E
secondary
#3C7C46
accent
#DA634E
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #45173E

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

Preview Lab → · Contrast checker → · Palette generator →

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