#45134F#45134F

#45134F is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.112 H 320.5°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#45134F
RGBrgb(69, 19, 79)
HSLhsl(290, 61%, 19%)
HSVhsv(290, 76%, 31%)
CMYKcmyk(12.7%, 75.9%, 0%, 69%)
CIE-LABlab(16.97, 33.22, -25.59)
CIE-LCHlch(16.97, 41.94, 322.40°)
OKLaboklab(29.87% 0.0868 -0.0716)
OKLCHoklch(29.87% 0.112 320.5)
XYZxyz(4.0982, 2.2957, 7.6229)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45134F #1D4F13
analogous
#27134F #45134F #4F133B
triadic
#45134F #4F4513 #134F45
tetradic
#45134F #4F2713 #1D4F13 #133B4F
square
#45134F #4F2713 #1D4F13 #133B4F
split-complementary
#45134F #3B4F13 #134F27
monochromatic
#160619 #1A071E #45134F #701F80 #9B2BB2

Accessibility & contrast

On white

14.39
#45134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#45134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45134F
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45134F#FFFFFF#000000##FFFFFF
##45134F1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#451E2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #45134f;
/* rgb */ color: rgb(69, 19, 79);
/* oklch */ color: oklch(29.9% 0.112 320.5);
Tailwind
colors: {
  custom: {
    50: '#7b5681',
    500: '#45134f',
    950: '#000000',
  },
}
SCSS
$custom: #45134f;
$custom-light: #7b5681;
$custom-dark: #000000;
JSON
{
  "hex": "#45134f",
  "rgb": {
    "r": 69,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 290,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2987,
    "c": 0.11248,
    "h": 320.5
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#45134F
secondary
#448836
accent
#E4435E
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #45134F

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

Preview Lab → · Contrast checker → · Palette generator →

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