#45145A#45145A

#45145A is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.123 H 313.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#45145A
RGBrgb(69, 20, 90)
HSLhsl(282, 64%, 22%)
HSVhsv(282, 78%, 35%)
CMYKcmyk(23.3%, 77.8%, 0%, 64.7%)
CIE-LABlab(17.94, 35.27, -31.47)
CIE-LCHlch(17.94, 47.26, 318.26°)
OKLaboklab(30.82% 0.0845 -0.0888)
OKLCHoklch(30.82% 0.123 313.6)
XYZxyz(4.5495, 2.5039, 9.9145)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45145A #295A14
analogous
#22145A #45145A #5A144C
triadic
#45145A #5A4514 #145A45
tetradic
#45145A #5A2214 #295A14 #144C5A
square
#45145A #5A2214 #295A14 #144C5A
split-complementary
#45145A #4C5A14 #145A22
monochromatic
#130619 #1F0928 #45145A #6B1F8C #922ABE

Accessibility & contrast

On white

13.99
#45145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#45145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45145A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45145A#FFFFFF#000000##FFFFFF
##45145A1.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)
#00295C
Deuteranopia (green-blind)
#0E2D58
Tritanopia (blue-blind)
#432335
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #45145a;
/* rgb */ color: rgb(69, 20, 90);
/* oklch */ color: oklch(30.8% 0.123 313.6);
Tailwind
colors: {
  custom: {
    50: '#7c5789',
    500: '#45145a',
    950: '#000000',
  },
}
SCSS
$custom: #45145a;
$custom-light: #7c5789;
$custom-dark: #000000;
JSON
{
  "hex": "#45145a",
  "rgb": {
    "r": 69,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 282,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30818,
    "c": 0.12259,
    "h": 313.6
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#45145A
secondary
#539238
accent
#E74173
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #45145A

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

Preview Lab → · Contrast checker → · Palette generator →

#45145A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva