#45115C#45115C

#45115C is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.7% C 0.128 H 312.9°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#45115C
RGBrgb(69, 17, 92)
HSLhsl(282, 69%, 21%)
HSVhsv(282, 82%, 36%)
CMYKcmyk(25%, 81.5%, 0%, 63.9%)
CIE-LABlab(17.64, 37.03, -33.28)
CIE-LCHlch(17.64, 49.79, 318.05°)
OKLaboklab(30.66% 0.0874 -0.0941)
OKLCHoklch(30.66% 0.128 312.9)
XYZxyz(4.5861, 2.4390, 10.3523)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45115C #285C11
analogous
#20115C #45115C #5C114E
triadic
#45115C #5C4511 #115C45
tetradic
#45115C #5C2011 #285C11 #114E5C
square
#45115C #5C2011 #285C11 #114E5C
split-complementary
#45115C #4E5C11 #115C20
monochromatic
#13051A #1E0728 #45115C #6C1B90 #9224C3

Accessibility & contrast

On white

14.11
#45115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45115C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45115C#FFFFFF#000000##FFFFFF
##45115C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#082C5A
Tritanopia (blue-blind)
#422236
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45115c;
/* rgb */ color: rgb(69, 17, 92);
/* oklch */ color: oklch(30.7% 0.128 312.9);
Tailwind
colors: {
  custom: {
    50: '#7c568b',
    500: '#45115c',
    950: '#000000',
  },
}
SCSS
$custom: #45115c;
$custom-light: #7c568b;
$custom-dark: #000000;
JSON
{
  "hex": "#45115c",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 281.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30658,
    "c": 0.12841,
    "h": 312.9
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#45115C
secondary
#529534
accent
#EC3C72
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45115C

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

Preview Lab → · Contrast checker → · Palette generator →

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