#45154E#45154E

#45154E is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.0% C 0.109 H 321.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#45154E
RGBrgb(69, 21, 78)
HSLhsl(291, 58%, 19%)
HSVhsv(291, 73%, 31%)
CMYKcmyk(11.5%, 73.1%, 0%, 69.4%)
CIE-LABlab(17.23, 32.07, -24.48)
CIE-LCHlch(17.23, 40.34, 322.64°)
OKLaboklab(30.04% 0.0843 -0.0684)
OKLCHoklch(30.04% 0.109 321)
XYZxyz(4.0974, 2.3518, 7.4444)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45154E #1E4E15
analogous
#29154E #45154E #4E153B
triadic
#45154E #4E4515 #154E45
tetradic
#45154E #4E2915 #1E4E15 #153B4E
square
#45154E #4E2915 #1E4E15 #153B4E
split-complementary
#45154E #3B4E15 #154E29
monochromatic
#150618 #1A081E #45154E #70227E #9A2FAE

Accessibility & contrast

On white

14.28
#45154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#45154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45154E
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45154E#FFFFFF#000000##FFFFFF
##45154E1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042750
Deuteranopia (green-blind)
#1B2C4D
Tritanopia (blue-blind)
#461F2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #45154e;
/* rgb */ color: rgb(69, 21, 78);
/* oklch */ color: oklch(30.0% 0.109 321.0);
Tailwind
colors: {
  custom: {
    50: '#7b5780',
    500: '#45154e',
    950: '#000000',
  },
}
SCSS
$custom: #45154e;
$custom-light: #7b5780;
$custom-dark: #000000;
JSON
{
  "hex": "#45154e",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 290.526,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30039,
    "c": 0.10851,
    "h": 321
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#45154E
secondary
#458639
accent
#E1475F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #45154E

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

Preview Lab → · Contrast checker → · Palette generator →

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