#45034E#45034E

#45034E is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.3% C 0.130 H 322.3°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#45034E
RGBrgb(69, 3, 78)
HSLhsl(293, 93%, 16%)
HSVhsv(293, 96%, 31%)
CMYKcmyk(11.5%, 96.2%, 0%, 69.4%)
CIE-LABlab(14.85, 38.93, -28.31)
CIE-LCHlch(14.85, 48.13, 323.98°)
OKLaboklab(28.35% 0.1027 -0.0794)
OKLCHoklch(28.35% 0.13 322.3)
XYZxyz(3.8618, 1.8806, 7.3658)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45034E #0C4E03
analogous
#1F034E #45034E #4E0331
triadic
#45034E #4E4503 #034E45
tetradic
#45034E #4E1F03 #0C4E03 #03314E
square
#45034E #4E1F03 #0C4E03 #03314E
split-complementary
#45034E #314E03 #034E1F
monochromatic
#1A011D #1A011D #45034E #790589 #AD08C4

Accessibility & contrast

On white

15.26
#45034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#45034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45034E
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45034E#FFFFFF#000000##FFFFFF
##45034E1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#10284C
Tritanopia (blue-blind)
#46152B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #45034e;
/* rgb */ color: rgb(69, 3, 78);
/* oklch */ color: oklch(28.3% 0.130 322.3);
Tailwind
colors: {
  custom: {
    50: '#7c4f80',
    500: '#45034e',
    950: '#000000',
  },
}
SCSS
$custom: #45034e;
$custom-light: #7c4f80;
$custom-dark: #000000;
JSON
{
  "hex": "#45034e",
  "rgb": {
    "r": 69,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 292.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28346,
    "c": 0.12981,
    "h": 322.3
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#45034E
secondary
#2C8E1E
accent
#FF2943
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#0A020A
muted
#7C787C

Preview Lab

Preview with #45034E

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

Preview Lab → · Contrast checker → · Palette generator →

#45034E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva