#45115F#45115F

#45115F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.132 H 311.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#45115F
RGBrgb(69, 17, 95)
HSLhsl(280, 70%, 22%)
HSVhsv(280, 82%, 37%)
CMYKcmyk(27.4%, 82.1%, 0%, 62.7%)
CIE-LABlab(17.88, 37.73, -34.89)
CIE-LCHlch(17.88, 51.38, 317.24°)
OKLaboklab(30.91% 0.0867 -0.0988)
OKLCHoklch(30.91% 0.132 311.3)
XYZxyz(4.7199, 2.4925, 11.0567)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45115F #2B5F11
analogous
#1E115F #45115F #5F1152
triadic
#45115F #5F4511 #115F45
tetradic
#45115F #5F1E11 #2B5F11 #11525F
square
#45115F #5F1E11 #2B5F11 #11525F
split-complementary
#45115F #525F11 #115F1E
monochromatic
#13051A #1F082B #45115F #6B1A93 #9024C7

Accessibility & contrast

On white

14.01
#45115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#45115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45115F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45115F#FFFFFF#000000##FFFFFF
##45115F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#022D5D
Tritanopia (blue-blind)
#422438
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #45115f;
/* rgb */ color: rgb(69, 17, 95);
/* oklch */ color: oklch(30.9% 0.132 311.3);
Tailwind
colors: {
  custom: {
    50: '#7c568d',
    500: '#45115f',
    950: '#000000',
  },
}
SCSS
$custom: #45115f;
$custom-light: #7c568d;
$custom-dark: #000000;
JSON
{
  "hex": "#45115f",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 280,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30907,
    "c": 0.1315,
    "h": 311.3
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#45115F
secondary
#559834
accent
#EC3B76
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45115F

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

Preview Lab → · Contrast checker → · Palette generator →

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