#45164F#45164F

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

Color values

HEX#45164F
RGBrgb(69, 22, 79)
HSLhsl(289, 56%, 20%)
HSVhsv(289, 72%, 31%)
CMYKcmyk(12.7%, 72.2%, 0%, 69%)
CIE-LABlab(17.48, 31.80, -24.77)
CIE-LCHlch(17.48, 40.31, 322.08°)
OKLaboklab(30.24% 0.0829 -0.0692)
OKLCHoklch(30.24% 0.108 320.2)
XYZxyz(4.1523, 2.4037, 7.6409)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45164F #204F16
analogous
#29164F #45164F #4F163D
triadic
#45164F #4F4516 #164F45
tetradic
#45164F #4F2916 #204F16 #163D4F
square
#45164F #4F2916 #204F16 #163D4F
split-complementary
#45164F #3D4F16 #164F29
monochromatic
#150718 #1B091F #45164F #6F237F #9931AF

Accessibility & contrast

On white

14.18
#45164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45164F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45164F#FFFFFF#000000##FFFFFF
##45164F1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052851
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#452030
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45164f;
/* rgb */ color: rgb(69, 22, 79);
/* oklch */ color: oklch(30.2% 0.108 320.2);
Tailwind
colors: {
  custom: {
    50: '#7b5781',
    500: '#45164f',
    950: '#000000',
  },
}
SCSS
$custom: #45164f;
$custom-light: #7b5781;
$custom-dark: #000000;
JSON
{
  "hex": "#45164f",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 289.474,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30236,
    "c": 0.10803,
    "h": 320.2
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#45164F
secondary
#48863A
accent
#E04863
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #45164F

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

Preview Lab → · Contrast checker → · Palette generator →

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