#45104B#45104B

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

Color values

HEX#45104B
RGBrgb(69, 16, 75)
HSLhsl(294, 65%, 18%)
HSVhsv(294, 79%, 29%)
CMYKcmyk(8%, 78.7%, 0%, 70.6%)
CIE-LABlab(16.23, 33.69, -24.03)
CIE-LCHlch(16.23, 41.39, 324.50°)
OKLaboklab(29.25% 0.0905 -0.067)
OKLCHoklch(29.25% 0.113 323.5)
XYZxyz(3.9094, 2.1440, 6.8632)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45104B #164B10
analogous
#27104B #45104B #4B1033
triadic
#45104B #4B4510 #104B45
tetradic
#45104B #4B2710 #164B10 #10334B
square
#45104B #4B2710 #164B10 #10334B
split-complementary
#45104B #334B10 #104B27
monochromatic
#170519 #170519 #45104B #731B7D #A226B0

Accessibility & contrast

On white

14.70
#45104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45104B
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45104B#FFFFFF#000000##FFFFFF
##45104B1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#1A2A4A
Tritanopia (blue-blind)
#461A2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #45104b;
/* rgb */ color: rgb(69, 16, 75);
/* oklch */ color: oklch(29.2% 0.113 323.5);
Tailwind
colors: {
  custom: {
    50: '#7b547d',
    500: '#45104b',
    950: '#000000',
  },
}
SCSS
$custom: #45104b;
$custom-light: #7b547d;
$custom-dark: #000000;
JSON
{
  "hex": "#45104b",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 293.898,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29249,
    "c": 0.11261,
    "h": 323.5
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#45104B
secondary
#3A8532
accent
#E84051
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #45104B

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

Preview Lab → · Contrast checker → · Palette generator →

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