#45104F#45104F

#45104F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.117 H 320.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#45104F
RGBrgb(69, 16, 79)
HSLhsl(290, 66%, 19%)
HSVhsv(290, 80%, 31%)
CMYKcmyk(12.7%, 79.7%, 0%, 69%)
CIE-LABlab(16.51, 34.54, -26.33)
CIE-LCHlch(16.51, 43.43, 322.68°)
OKLaboklab(29.54% 0.0903 -0.0737)
OKLCHoklch(29.54% 0.117 320.8)
XYZxyz(4.0507, 2.2005, 7.6070)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45104F #1A4F10
analogous
#25104F #45104F #4F1039
triadic
#45104F #4F4510 #104F45
tetradic
#45104F #4F2510 #1A4F10 #10394F
square
#45104F #4F2510 #1A4F10 #10394F
split-complementary
#45104F #394F10 #104F25
monochromatic
#160519 #19061C #45104F #711A82 #9E25B5

Accessibility & contrast

On white

14.58
#45104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#45104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45104F
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45104F#FFFFFF#000000##FFFFFF
##45104F1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#172B4E
Tritanopia (blue-blind)
#451C2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #45104f;
/* rgb */ color: rgb(69, 16, 79);
/* oklch */ color: oklch(29.5% 0.117 320.8);
Tailwind
colors: {
  custom: {
    50: '#7b5481',
    500: '#45104f',
    950: '#000000',
  },
}
SCSS
$custom: #45104f;
$custom-light: #7b5481;
$custom-dark: #000000;
JSON
{
  "hex": "#45104f",
  "rgb": {
    "r": 69,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 290.476,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2954,
    "c": 0.11653,
    "h": 320.8
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#45104F
secondary
#408932
accent
#E93F5A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #45104F

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

Preview Lab → · Contrast checker → · Palette generator →

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