#45164E#45164E

#45164E is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.107 H 320.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#45164E
RGBrgb(69, 22, 78)
HSLhsl(290, 56%, 20%)
HSVhsv(290, 72%, 31%)
CMYKcmyk(11.5%, 71.8%, 0%, 69.4%)
CIE-LABlab(17.41, 31.57, -24.20)
CIE-LCHlch(17.41, 39.78, 322.53°)
OKLaboklab(30.17% 0.083 -0.0675)
OKLCHoklch(30.17% 0.107 320.8)
XYZxyz(4.1161, 2.3893, 7.4506)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45164E #1F4E16
analogous
#29164E #45164E #4E163B
triadic
#45164E #4E4516 #164E45
tetradic
#45164E #4E2916 #1F4E16 #163B4E
square
#45164E #4E2916 #1F4E16 #163B4E
split-complementary
#45164E #3B4E16 #164E29
monochromatic
#150718 #1B091E #45164E #6F237E #9931AD

Accessibility & contrast

On white

14.21
#45164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#45164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45164E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45164E#FFFFFF#000000##FFFFFF
##45164E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062750
Deuteranopia (green-blind)
#1C2C4D
Tritanopia (blue-blind)
#461F2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45164e;
/* rgb */ color: rgb(69, 22, 78);
/* oklch */ color: oklch(30.2% 0.107 320.8);
Tailwind
colors: {
  custom: {
    50: '#7b5780',
    500: '#45164e',
    950: '#000000',
  },
}
SCSS
$custom: #45164e;
$custom-light: #7b5780;
$custom-dark: #000000;
JSON
{
  "hex": "#45164e",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 290.357,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30166,
    "c": 0.10698,
    "h": 320.8
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#45164E
secondary
#46853A
accent
#DF4961
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #45164E

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

Preview Lab → · Contrast checker → · Palette generator →

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