#45404F#45404F

#45404F is a dark, muted violet. Relative luminance 0.055; OKLCH L 38.2% C 0.026 H 300.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#45404F
RGBrgb(69, 64, 79)
HSLhsl(260, 10%, 28%)
HSVhsv(260, 19%, 31%)
CMYKcmyk(12.7%, 19%, 0%, 69%)
CIE-LABlab(28.10, 5.59, -8.27)
CIE-LCHlch(28.10, 9.98, 304.06°)
OKLaboklab(38.23% 0.0131 -0.0224)
OKLCHoklch(38.23% 0.026 300.4)
XYZxyz(5.6986, 5.4965, 8.1563)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45404F #4A4F40
analogous
#40424F #45404F #4C404F
triadic
#45404F #4F4540 #404F45
tetradic
#45404F #4F4042 #4A4F40 #404F4C
square
#45404F #4F4042 #4A4F40 #404F4C
split-complementary
#45404F #4F4C40 #424F40
monochromatic
#0F0E11 #27252D #45404F #635B71 #807892

Accessibility & contrast

On white

10.00
#45404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#45404F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45404F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45404F#FFFFFF#000000##FFFFFF
##45404F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#3E424F
Tritanopia (blue-blind)
#434245
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #45404f;
/* rgb */ color: rgb(69, 64, 79);
/* oklch */ color: oklch(38.2% 0.026 300.4);
Tailwind
colors: {
  custom: {
    50: '#787480',
    500: '#45404f',
    950: '#000000',
  },
}
SCSS
$custom: #45404f;
$custom-light: #787480;
$custom-dark: #000000;
JSON
{
  "hex": "#45404f",
  "rgb": {
    "r": 69,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 260,
    "s": 10.49,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38233,
    "c": 0.02596,
    "h": 300.4
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#45404F
secondary
#787E6D
accent
#B3749E
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#09080A
muted
#7B7B7C

Preview Lab

Preview with #45404F

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

Preview Lab → · Contrast checker → · Palette generator →

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