#45204F#45204F

#45204F is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.7% C 0.091 H 318.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#45204F
RGBrgb(69, 32, 79)
HSLhsl(287, 42%, 22%)
HSVhsv(287, 59%, 31%)
CMYKcmyk(12.7%, 59.5%, 0%, 69%)
CIE-LABlab(19.49, 26.33, -21.59)
CIE-LCHlch(19.49, 34.05, 320.65°)
OKLaboklab(31.7% 0.0683 -0.06)
OKLCHoklch(31.7% 0.091 318.7)
XYZxyz(4.3819, 2.8629, 7.7174)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45204F #2A4F20
analogous
#2E204F #45204F #4F2042
triadic
#45204F #4F4520 #204F45
tetradic
#45204F #4F2E20 #2A4F20 #20424F
square
#45204F #4F2E20 #2A4F20 #20424F
split-complementary
#45204F #424F20 #204F2E
monochromatic
#130916 #1F0E23 #45204F #6B327B #9143A6

Accessibility & contrast

On white

13.35
#45204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#45204F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45204F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45204F#FFFFFF#000000##FFFFFF
##45204F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D51
Deuteranopia (green-blind)
#23304E
Tritanopia (blue-blind)
#452734
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #45204f;
/* rgb */ color: rgb(69, 32, 79);
/* oklch */ color: oklch(31.7% 0.091 318.7);
Tailwind
colors: {
  custom: {
    50: '#7a5d80',
    500: '#45204f',
    950: '#000000',
  },
}
SCSS
$custom: #45204f;
$custom-light: #7a5d80;
$custom-dark: #000000;
JSON
{
  "hex": "#45204f",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 287.234,
    "s": 42.342,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31698,
    "c": 0.09095,
    "h": 318.7
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#45204F
secondary
#548347
accent
#D25670
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #45204F

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

Preview Lab → · Contrast checker → · Palette generator →

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