#45125D#45125D

#45125D is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.128 H 312.2°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#45125D
RGBrgb(69, 18, 93)
HSLhsl(281, 68%, 22%)
HSVhsv(281, 81%, 36%)
CMYKcmyk(25.8%, 80.6%, 0%, 63.5%)
CIE-LABlab(17.87, 36.84, -33.59)
CIE-LCHlch(17.87, 49.85, 317.65°)
OKLaboklab(30.84% 0.0862 -0.095)
OKLCHoklch(30.84% 0.128 312.2)
XYZxyz(4.6460, 2.4883, 10.5893)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45125D #2A5D12
analogous
#20125D #45125D #5D1250
triadic
#45125D #5D4512 #125D45
tetradic
#45125D #5D2012 #2A5D12 #12505D
square
#45125D #5D2012 #2A5D12 #12505D
split-complementary
#45125D #505D12 #125D20
monochromatic
#13051A #1F082A #45125D #6B1C90 #9126C4

Accessibility & contrast

On white

14.02
#45125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45125D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45125D#FFFFFF#000000##FFFFFF
##45125D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#072D5B
Tritanopia (blue-blind)
#422337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #45125d;
/* rgb */ color: rgb(69, 18, 93);
/* oklch */ color: oklch(30.8% 0.128 312.2);
Tailwind
colors: {
  custom: {
    50: '#7c568b',
    500: '#45125d',
    950: '#000000',
  },
}
SCSS
$custom: #45125d;
$custom-light: #7c568b;
$custom-dark: #000000;
JSON
{
  "hex": "#45125d",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 280.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30843,
    "c": 0.12827,
    "h": 312.2
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#45125D
secondary
#549535
accent
#EA3D75
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #45125D

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

Preview Lab → · Contrast checker → · Palette generator →

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