#45284C#45284C

#45284C is a dark, moderate purple. Relative luminance 0.033; OKLCH L 32.9% C 0.072 H 319.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#45284C
RGBrgb(69, 40, 76)
HSLhsl(288, 31%, 23%)
HSVhsv(288, 47%, 30%)
CMYKcmyk(9.2%, 47.4%, 0%, 70.2%)
CIE-LABlab(21.23, 20.66, -16.83)
CIE-LCHlch(21.23, 26.65, 320.84°)
OKLaboklab(32.93% 0.0545 -0.0463)
OKLCHoklch(32.93% 0.072 319.6)
XYZxyz(4.5174, 3.3047, 7.2360)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45284C #2F4C28
analogous
#33284C #45284C #4C2841
triadic
#45284C #4C4528 #284C45
tetradic
#45284C #4C3328 #2F4C28 #28414C
square
#45284C #4C3328 #2F4C28 #28414C
split-complementary
#45284C #414C28 #284C33
monochromatic
#120B14 #211324 #45284C #693D74 #8E529C

Accessibility & contrast

On white

12.64
#45284C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#45284C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45284C
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45284C#FFFFFF#000000##FFFFFF
##45284C1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314D
Deuteranopia (green-blind)
#2A344B
Tritanopia (blue-blind)
#452D36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #45284c;
/* rgb */ color: rgb(69, 40, 76);
/* oklch */ color: oklch(32.9% 0.072 319.6);
Tailwind
colors: {
  custom: {
    50: '#79637e',
    500: '#45284c',
    950: '#000000',
  },
}
SCSS
$custom: #45284c;
$custom-light: #79637e;
$custom-dark: #000000;
JSON
{
  "hex": "#45284c",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 288.333,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32933,
    "c": 0.07157,
    "h": 319.6
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#45284C
secondary
#5A7E51
accent
#C76175
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#09050A
muted
#7B797C

Preview Lab

Preview with #45284C

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

Preview Lab → · Contrast checker → · Palette generator →

#45284C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva