#45195A#45195A

#45195A is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.116 H 312.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#45195A
RGBrgb(69, 25, 90)
HSLhsl(281, 57%, 23%)
HSVhsv(281, 72%, 35%)
CMYKcmyk(23.3%, 72.2%, 0%, 64.7%)
CIE-LABlab(18.79, 32.85, -30.08)
CIE-LCHlch(18.79, 44.55, 317.52°)
OKLaboklab(31.43% 0.0785 -0.0848)
OKLCHoklch(31.43% 0.116 312.8)
XYZxyz(4.6470, 2.6988, 9.9470)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45195A #2E5A19
analogous
#24195A #45195A #5A194F
triadic
#45195A #5A4519 #195A45
tetradic
#45195A #5A2419 #2E5A19 #194F5A
square
#45195A #5A2419 #2E5A19 #194F5A
split-complementary
#45195A #4F5A19 #195A24
monochromatic
#120718 #200C2A #45195A #6A268A #8E34BA

Accessibility & contrast

On white

13.64
#45195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#45195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45195A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45195A#FFFFFF#000000##FFFFFF
##45195A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#142F59
Tritanopia (blue-blind)
#432637
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #45195a;
/* rgb */ color: rgb(69, 25, 90);
/* oklch */ color: oklch(31.4% 0.116 312.8);
Tailwind
colors: {
  custom: {
    50: '#7b5989',
    500: '#45195a',
    950: '#000000',
  },
}
SCSS
$custom: #45195a;
$custom-light: #7b5989;
$custom-dark: #000000;
JSON
{
  "hex": "#45195a",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 280.615,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31431,
    "c": 0.11554,
    "h": 312.8
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#45195A
secondary
#59903E
accent
#E04879
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #45195A

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

Preview Lab → · Contrast checker → · Palette generator →

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