#45134E#45134E

#45134E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.111 H 321.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#45134E
RGBrgb(69, 19, 78)
HSLhsl(291, 61%, 19%)
HSVhsv(291, 76%, 31%)
CMYKcmyk(11.5%, 75.6%, 0%, 69.4%)
CIE-LABlab(16.90, 33.01, -25.02)
CIE-LCHlch(16.90, 41.42, 322.84°)
OKLaboklab(29.8% 0.0868 -0.0699)
OKLCHoklch(29.8% 0.111 321.2)
XYZxyz(4.0621, 2.2812, 7.4326)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45134E #1C4E13
analogous
#28134E #45134E #4E133A
triadic
#45134E #4E4513 #134E45
tetradic
#45134E #4E2813 #1C4E13 #133A4E
square
#45134E #4E2813 #1C4E13 #133A4E
split-complementary
#45134E #3A4E13 #134E28
monochromatic
#160619 #19071D #45134E #711F7F #9C2BB0

Accessibility & contrast

On white

14.42
#45134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45134E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45134E#FFFFFF#000000##FFFFFF
##45134E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012650
Deuteranopia (green-blind)
#1A2B4D
Tritanopia (blue-blind)
#461E2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #45134e;
/* rgb */ color: rgb(69, 19, 78);
/* oklch */ color: oklch(29.8% 0.111 321.2);
Tailwind
colors: {
  custom: {
    50: '#7b5680',
    500: '#45134e',
    950: '#000000',
  },
}
SCSS
$custom: #45134e;
$custom-light: #7b5680;
$custom-dark: #000000;
JSON
{
  "hex": "#45134e",
  "rgb": {
    "r": 69,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 290.847,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29798,
    "c": 0.11145,
    "h": 321.2
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#45134E
secondary
#428736
accent
#E4445C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #45134E

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

Preview Lab → · Contrast checker → · Palette generator →

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