#45165A#45165A

#45165A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.120 H 313.3°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#45165A
RGBrgb(69, 22, 90)
HSLhsl(281, 61%, 22%)
HSVhsv(281, 76%, 35%)
CMYKcmyk(23.3%, 75.6%, 0%, 64.7%)
CIE-LABlab(18.27, 34.34, -30.94)
CIE-LCHlch(18.27, 46.22, 317.98°)
OKLaboklab(31.05% 0.0822 -0.0873)
OKLCHoklch(31.05% 0.12 313.3)
XYZxyz(4.5863, 2.5774, 9.9268)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45165A #2B5A16
analogous
#23165A #45165A #5A164D
triadic
#45165A #5A4516 #165A45
tetradic
#45165A #5A2316 #2B5A16 #164D5A
square
#45165A #5A2316 #2B5A16 #164D5A
split-complementary
#45165A #4D5A16 #165A23
monochromatic
#130619 #1F0A29 #45165A #6B228B #902EBC

Accessibility & contrast

On white

13.86
#45165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#45165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45165A
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45165A#FFFFFF#000000##FFFFFF
##45165A1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#112E58
Tritanopia (blue-blind)
#432436
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #45165a;
/* rgb */ color: rgb(69, 22, 90);
/* oklch */ color: oklch(31.1% 0.120 313.3);
Tailwind
colors: {
  custom: {
    50: '#7b5889',
    500: '#45165a',
    950: '#000000',
  },
}
SCSS
$custom: #45165a;
$custom-light: #7b5889;
$custom-dark: #000000;
JSON
{
  "hex": "#45165a",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 281.471,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.11988,
    "h": 313.3
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#45165A
secondary
#55913B
accent
#E44475
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #45165A

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

Preview Lab → · Contrast checker → · Palette generator →

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