#45105E#45105E

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

Color values

HEX#45105E
RGBrgb(69, 16, 94)
HSLhsl(281, 71%, 22%)
HSVhsv(281, 83%, 37%)
CMYKcmyk(26.6%, 83%, 0%, 63.1%)
CIE-LABlab(17.66, 37.89, -34.58)
CIE-LCHlch(17.66, 51.30, 317.62°)
OKLaboklab(30.73% 0.0879 -0.0979)
OKLCHoklch(30.73% 0.132 311.9)
XYZxyz(4.6595, 2.4441, 10.8138)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45105E #295E10
analogous
#1E105E #45105E #5E1050
triadic
#45105E #5E4510 #105E45
tetradic
#45105E #5E1E10 #295E10 #10505E
square
#45105E #5E1E10 #295E10 #10505E
split-complementary
#45105E #505E10 #105E1E
monochromatic
#13041A #1F072A #45105E #6B1992 #9222C7

Accessibility & contrast

On white

14.11
#45105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45105E
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45105E#FFFFFF#000000##FFFFFF
##45105E1.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)
#002960
Deuteranopia (green-blind)
#032C5C
Tritanopia (blue-blind)
#422337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45105e;
/* rgb */ color: rgb(69, 16, 94);
/* oklch */ color: oklch(30.7% 0.132 311.9);
Tailwind
colors: {
  custom: {
    50: '#7c558c',
    500: '#45105e',
    950: '#000000',
  },
}
SCSS
$custom: #45105e;
$custom-light: #7c558c;
$custom-dark: #000000;
JSON
{
  "hex": "#45105e",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 280.769,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30726,
    "c": 0.13161,
    "h": 311.9
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#45105E
secondary
#539733
accent
#EE3A74
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45105E

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

Preview Lab → · Contrast checker → · Palette generator →

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