#45124D#45124D

#45124D is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.112 H 321.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#45124D
RGBrgb(69, 18, 77)
HSLhsl(292, 62%, 19%)
HSVhsv(292, 77%, 30%)
CMYKcmyk(10.4%, 76.6%, 0%, 69.8%)
CIE-LABlab(16.67, 33.24, -24.70)
CIE-LCHlch(16.67, 41.41, 323.39°)
OKLaboklab(29.61% 0.0881 -0.069)
OKLCHoklch(29.61% 0.112 321.9)
XYZxyz(4.0100, 2.2339, 7.2397)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45124D #1A4D12
analogous
#27124D #45124D #4D1237
triadic
#45124D #4D4512 #124D45
tetradic
#45124D #4D2712 #1A4D12 #12374D
square
#45124D #4D2712 #1A4D12 #12374D
split-complementary
#45124D #374D12 #124D27
monochromatic
#160619 #19061B #45124D #711E7F #9E29B0

Accessibility & contrast

On white

14.51
#45124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#45124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45124D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45124D#FFFFFF#000000##FFFFFF
##45124D1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254F
Deuteranopia (green-blind)
#1A2B4C
Tritanopia (blue-blind)
#461C2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #45124d;
/* rgb */ color: rgb(69, 18, 77);
/* oklch */ color: oklch(29.6% 0.112 321.9);
Tailwind
colors: {
  custom: {
    50: '#7b557f',
    500: '#45124d',
    950: '#000000',
  },
}
SCSS
$custom: #45124d;
$custom-light: #7b557f;
$custom-dark: #000000;
JSON
{
  "hex": "#45124d",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 291.864,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29611,
    "c": 0.11185,
    "h": 321.9
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#45124D
secondary
#408635
accent
#E54359
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #45124D

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

Preview Lab → · Contrast checker → · Palette generator →

#45124D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva