#45194D#45194D

#45194D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.5% C 0.101 H 321.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#45194D
RGBrgb(69, 25, 77)
HSLhsl(291, 51%, 20%)
HSVhsv(291, 68%, 30%)
CMYKcmyk(10.4%, 67.5%, 0%, 69.8%)
CIE-LABlab(17.90, 29.81, -22.73)
CIE-LCHlch(17.90, 37.49, 322.67°)
OKLaboklab(30.5% 0.0788 -0.0633)
OKLCHoklch(30.5% 0.101 321.2)
XYZxyz(4.1413, 2.4965, 7.2835)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45194D #214D19
analogous
#2B194D #45194D #4D193B
triadic
#45194D #4D4519 #194D45
tetradic
#45194D #4D2B19 #214D19 #193B4D
square
#45194D #4D2B19 #214D19 #193B4D
split-complementary
#45194D #3B4D19 #194D2B
monochromatic
#150817 #1C0A1F #45194D #6E287B #9837A9

Accessibility & contrast

On white

14.01
#45194D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#45194D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45194D
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45194D#FFFFFF#000000##FFFFFF
##45194D1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D294F
Deuteranopia (green-blind)
#1E2D4C
Tritanopia (blue-blind)
#462130
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #45194d;
/* rgb */ color: rgb(69, 25, 77);
/* oklch */ color: oklch(30.5% 0.101 321.2);
Tailwind
colors: {
  custom: {
    50: '#7b597f',
    500: '#45194d',
    950: '#000000',
  },
}
SCSS
$custom: #45194d;
$custom-light: #7b597f;
$custom-dark: #000000;
JSON
{
  "hex": "#45194d",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 77
  },
  "hsl": {
    "h": 290.769,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.30501,
    "c": 0.10106,
    "h": 321.2
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#45194D
secondary
#49833E
accent
#DA4D63
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #45194D

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

Preview Lab → · Contrast checker → · Palette generator →

#45194D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva