#45104A#45104A

#45104A is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.112 H 324.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#45104A
RGBrgb(69, 16, 74)
HSLhsl(295, 64%, 18%)
HSVhsv(295, 78%, 29%)
CMYKcmyk(6.8%, 78.4%, 0%, 71%)
CIE-LABlab(16.16, 33.49, -23.45)
CIE-LCHlch(16.16, 40.88, 324.99°)
OKLaboklab(29.18% 0.0905 -0.0653)
OKLCHoklch(29.18% 0.112 324.2)
XYZxyz(3.8755, 2.1304, 6.6843)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45104A #154A10
analogous
#28104A #45104A #4A1032
triadic
#45104A #4A4510 #104A45
tetradic
#45104A #4A2810 #154A10 #10324A
square
#45104A #4A2810 #154A10 #10324A
split-complementary
#45104A #324A10 #104A28
monochromatic
#170519 #170519 #45104A #741B7C #A326AF

Accessibility & contrast

On white

14.73
#45104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45104A
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45104A#FFFFFF#000000##FFFFFF
##45104A1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244C
Deuteranopia (green-blind)
#1B2A49
Tritanopia (blue-blind)
#461A2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #45104a;
/* rgb */ color: rgb(69, 16, 74);
/* oklch */ color: oklch(29.2% 0.112 324.2);
Tailwind
colors: {
  custom: {
    50: '#7b547d',
    500: '#45104a',
    950: '#000000',
  },
}
SCSS
$custom: #45104a;
$custom-light: #7b547d;
$custom-dark: #000000;
JSON
{
  "hex": "#45104a",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 294.828,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29179,
    "c": 0.11164,
    "h": 324.2
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#45104A
secondary
#398432
accent
#E7404F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #45104A

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

Preview Lab → · Contrast checker → · Palette generator →

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