#45185B#45185B

#45185B is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.118 H 312.4°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#45185B
RGBrgb(69, 24, 91)
HSLhsl(280, 58%, 23%)
HSVhsv(280, 74%, 36%)
CMYKcmyk(24.2%, 73.6%, 0%, 64.3%)
CIE-LABlab(18.69, 33.60, -30.93)
CIE-LCHlch(18.69, 45.67, 317.38°)
OKLaboklab(31.38% 0.0797 -0.0872)
OKLCHoklch(31.38% 0.118 312.4)
XYZxyz(4.6689, 2.6739, 10.1657)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45185B #2E5B18
analogous
#24185B #45185B #5B184F
triadic
#45185B #5B4518 #185B45
tetradic
#45185B #5B2418 #2E5B18 #184F5B
square
#45185B #5B2418 #2E5B18 #184F5B
split-complementary
#45185B #4F5B18 #185B24
monochromatic
#120618 #200B2B #45185B #6A258B #8E32BC

Accessibility & contrast

On white

13.68
#45185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45185B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45185B#FFFFFF#000000##FFFFFF
##45185B1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#122E59
Tritanopia (blue-blind)
#432637
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #45185b;
/* rgb */ color: rgb(69, 24, 91);
/* oklch */ color: oklch(31.4% 0.118 312.4);
Tailwind
colors: {
  custom: {
    50: '#7b598a',
    500: '#45185b',
    950: '#000000',
  },
}
SCSS
$custom: #45185b;
$custom-light: #7b598a;
$custom-dark: #000000;
JSON
{
  "hex": "#45185b",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 280.299,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31378,
    "c": 0.11814,
    "h": 312.4
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#45185B
secondary
#59923D
accent
#E14679
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #45185B

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

Preview Lab → · Contrast checker → · Palette generator →

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