#45155D#45155D

#45155D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.124 H 311.8°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#45155D
RGBrgb(69, 21, 93)
HSLhsl(280, 63%, 22%)
HSVhsv(280, 77%, 36%)
CMYKcmyk(25.8%, 77.4%, 0%, 63.5%)
CIE-LABlab(18.33, 35.52, -32.84)
CIE-LCHlch(18.33, 48.37, 317.25°)
OKLaboklab(31.17% 0.0829 -0.0928)
OKLCHoklch(31.17% 0.124 311.8)
XYZxyz(4.6978, 2.5920, 10.6066)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45155D #2D5D15
analogous
#21155D #45155D #5D1551
triadic
#45155D #5D4515 #155D45
tetradic
#45155D #5D2115 #2D5D15 #15515D
square
#45155D #5D2115 #2D5D15 #15515D
split-complementary
#45155D #515D15 #155D21
monochromatic
#130619 #200A2B #45155D #6A208F #8F2CC1

Accessibility & contrast

On white

13.83
#45155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#45155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45155D
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45155D#FFFFFF#000000##FFFFFF
##45155D1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#0B2E5B
Tritanopia (blue-blind)
#422537
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #45155d;
/* rgb */ color: rgb(69, 21, 93);
/* oklch */ color: oklch(31.2% 0.124 311.8);
Tailwind
colors: {
  custom: {
    50: '#7c588b',
    500: '#45155d',
    950: '#000000',
  },
}
SCSS
$custom: #45155d;
$custom-light: #7c588b;
$custom-dark: #000000;
JSON
{
  "hex": "#45155d",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 280,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31171,
    "c": 0.12449,
    "h": 311.8
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#45155D
secondary
#589439
accent
#E64278
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45155D

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

Preview Lab → · Contrast checker → · Palette generator →

#45155D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva