#45124F#45124F

#45124F is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.114 H 320.6°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#45124F
RGBrgb(69, 18, 79)
HSLhsl(290, 63%, 19%)
HSVhsv(290, 77%, 31%)
CMYKcmyk(12.7%, 77.2%, 0%, 69%)
CIE-LABlab(16.81, 33.68, -25.84)
CIE-LCHlch(16.81, 42.45, 322.50°)
OKLaboklab(29.76% 0.088 -0.0723)
OKLCHoklch(29.76% 0.114 320.6)
XYZxyz(4.0817, 2.2625, 7.6173)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45124F #1C4F12
analogous
#27124F #45124F #4F123B
triadic
#45124F #4F4512 #124F45
tetradic
#45124F #4F2712 #1C4F12 #123B4F
square
#45124F #4F2712 #1C4F12 #123B4F
split-complementary
#45124F #3B4F12 #124F27
monochromatic
#160619 #19071D #45124F #711D81 #9C29B3

Accessibility & contrast

On white

14.46
#45124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45124F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45124F#FFFFFF#000000##FFFFFF
##45124F1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#182B4E
Tritanopia (blue-blind)
#451D2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #45124f;
/* rgb */ color: rgb(69, 18, 79);
/* oklch */ color: oklch(29.8% 0.114 320.6);
Tailwind
colors: {
  custom: {
    50: '#7b5581',
    500: '#45124f',
    950: '#000000',
  },
}
SCSS
$custom: #45124f;
$custom-light: #7b5581;
$custom-dark: #000000;
JSON
{
  "hex": "#45124f",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 290.164,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29756,
    "c": 0.11387,
    "h": 320.6
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#45124F
secondary
#428835
accent
#E6425D
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #45124F

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

Preview Lab → · Contrast checker → · Palette generator →

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