#45115E#45115E

#45115E is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.130 H 311.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#45115E
RGBrgb(69, 17, 94)
HSLhsl(281, 69%, 22%)
HSVhsv(281, 82%, 37%)
CMYKcmyk(26.6%, 81.9%, 0%, 63.1%)
CIE-LABlab(17.80, 37.49, -34.35)
CIE-LCHlch(17.80, 50.85, 317.50°)
OKLaboklab(30.82% 0.087 -0.0973)
OKLCHoklch(30.82% 0.13 311.8)
XYZxyz(4.6747, 2.4744, 10.8189)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45115E #2A5E11
analogous
#1E115E #45115E #5E1151
triadic
#45115E #5E4511 #115E45
tetradic
#45115E #5E1E11 #2A5E11 #11515E
square
#45115E #5E1E11 #2A5E11 #11515E
split-complementary
#45115E #515E11 #115E1E
monochromatic
#13051A #1F082A #45115E #6B1A92 #9124C6

Accessibility & contrast

On white

14.05
#45115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#45115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45115E
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45115E#FFFFFF#000000##FFFFFF
##45115E1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#042D5C
Tritanopia (blue-blind)
#422337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #45115e;
/* rgb */ color: rgb(69, 17, 94);
/* oklch */ color: oklch(30.8% 0.130 311.8);
Tailwind
colors: {
  custom: {
    50: '#7c568c',
    500: '#45115e',
    950: '#000000',
  },
}
SCSS
$custom: #45115e;
$custom-light: #7c568c;
$custom-dark: #000000;
JSON
{
  "hex": "#45115e",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 280.519,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.13047,
    "h": 311.8
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#45115E
secondary
#549734
accent
#EC3C75
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45115E

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

Preview Lab → · Contrast checker → · Palette generator →

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