#45125E#45125E

#45125E is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.129 H 311.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#45125E
RGBrgb(69, 18, 94)
HSLhsl(280, 68%, 22%)
HSVhsv(280, 81%, 37%)
CMYKcmyk(26.6%, 80.9%, 0%, 63.1%)
CIE-LABlab(17.95, 37.08, -34.12)
CIE-LCHlch(17.95, 50.39, 317.38°)
OKLaboklab(30.93% 0.086 -0.0966)
OKLCHoklch(30.93% 0.129 311.7)
XYZxyz(4.6906, 2.5061, 10.8241)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45125E #2B5E12
analogous
#1F125E #45125E #5E1251
triadic
#45125E #5E4512 #125E45
tetradic
#45125E #5E1F12 #2B5E12 #12515E
square
#45125E #5E1F12 #2B5E12 #12515E
split-complementary
#45125E #515E12 #125E1F
monochromatic
#13051A #1F082B #45125E #6B1C91 #9026C5

Accessibility & contrast

On white

13.99
#45125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#45125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45125E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45125E#FFFFFF#000000##FFFFFF
##45125E1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#052D5C
Tritanopia (blue-blind)
#422437
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #45125e;
/* rgb */ color: rgb(69, 18, 94);
/* oklch */ color: oklch(30.9% 0.129 311.7);
Tailwind
colors: {
  custom: {
    50: '#7c568c',
    500: '#45125e',
    950: '#000000',
  },
}
SCSS
$custom: #45125e;
$custom-light: #7c568c;
$custom-dark: #000000;
JSON
{
  "hex": "#45125e",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 280.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30925,
    "c": 0.1293,
    "h": 311.7
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#45125E
secondary
#559635
accent
#EB3D76
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45125E

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

Preview Lab → · Contrast checker → · Palette generator →

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