#45185A#45185A

#45185A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.3% C 0.117 H 313.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#45185A
RGBrgb(69, 24, 90)
HSLhsl(281, 58%, 22%)
HSVhsv(281, 73%, 35%)
CMYKcmyk(23.3%, 73.3%, 0%, 64.7%)
CIE-LABlab(18.61, 33.36, -30.38)
CIE-LCHlch(18.61, 45.12, 317.68°)
OKLaboklab(31.3% 0.0798 -0.0856)
OKLCHoklch(31.3% 0.117 313)
XYZxyz(4.6260, 2.6568, 9.9400)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45185A #2D5A18
analogous
#24185A #45185A #5A184E
triadic
#45185A #5A4518 #185A45
tetradic
#45185A #5A2418 #2D5A18 #184E5A
square
#45185A #5A2418 #2D5A18 #184E5A
split-complementary
#45185A #4E5A18 #185A24
monochromatic
#130618 #200B2A #45185A #6A258A #8F32BB

Accessibility & contrast

On white

13.71
#45185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#45185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45185A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45185A#FFFFFF#000000##FFFFFF
##45185A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#132E59
Tritanopia (blue-blind)
#432537
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #45185a;
/* rgb */ color: rgb(69, 24, 90);
/* oklch */ color: oklch(31.3% 0.117 313.0);
Tailwind
colors: {
  custom: {
    50: '#7b5989',
    500: '#45185a',
    950: '#000000',
  },
}
SCSS
$custom: #45185a;
$custom-light: #7b5989;
$custom-dark: #000000;
JSON
{
  "hex": "#45185a",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 280.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31301,
    "c": 0.11702,
    "h": 313
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#45185A
secondary
#58913D
accent
#E14778
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #45185A

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

Preview Lab → · Contrast checker → · Palette generator →

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