#45104C#45104C

#45104C is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.114 H 322.8°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#45104C
RGBrgb(69, 16, 76)
HSLhsl(293, 65%, 18%)
HSVhsv(293, 79%, 30%)
CMYKcmyk(9.2%, 78.9%, 0%, 70.2%)
CIE-LABlab(16.29, 33.90, -24.61)
CIE-LCHlch(16.29, 41.89, 324.02°)
OKLaboklab(29.32% 0.0905 -0.0687)
OKLCHoklch(29.32% 0.114 322.8)
XYZxyz(3.9439, 2.1578, 7.0448)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45104C #174C10
analogous
#27104C #45104C #4C1035
triadic
#45104C #4C4510 #104C45
tetradic
#45104C #4C2710 #174C10 #10354C
square
#45104C #4C2710 #174C10 #10354C
split-complementary
#45104C #354C10 #104C27
monochromatic
#170519 #170519 #45104C #731B7F #A125B1

Accessibility & contrast

On white

14.67
#45104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#45104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45104C
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45104C#FFFFFF#000000##FFFFFF
##45104C1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#192A4B
Tritanopia (blue-blind)
#461B2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #45104c;
/* rgb */ color: rgb(69, 16, 76);
/* oklch */ color: oklch(29.3% 0.114 322.8);
Tailwind
colors: {
  custom: {
    50: '#7b547e',
    500: '#45104c',
    950: '#000000',
  },
}
SCSS
$custom: #45104c;
$custom-light: #7b547e;
$custom-dark: #000000;
JSON
{
  "hex": "#45104c",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 293,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29321,
    "c": 0.11359,
    "h": 322.8
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#45104C
secondary
#3C8632
accent
#E84053
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #45104C

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

Preview Lab → · Contrast checker → · Palette generator →

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