#45184C#45184C

#45184C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.102 H 322.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#45184C
RGBrgb(69, 24, 76)
HSLhsl(292, 52%, 20%)
HSVhsv(292, 68%, 30%)
CMYKcmyk(9.2%, 68.4%, 0%, 70.2%)
CIE-LABlab(17.65, 30.11, -22.46)
CIE-LCHlch(17.65, 37.56, 323.29°)
OKLaboklab(30.3% 0.0802 -0.0625)
OKLCHoklch(30.3% 0.102 322.1)
XYZxyz(4.0852, 2.4405, 7.0920)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45184C #1F4C18
analogous
#2B184C #45184C #4C1839
triadic
#45184C #4C4518 #184C45
tetradic
#45184C #4C2B18 #1F4C18 #18394C
square
#45184C #4C2B18 #1F4C18 #18394C
split-complementary
#45184C #394C18 #184C2B
monochromatic
#150717 #1B091D #45184C #6F277B #9935A9

Accessibility & contrast

On white

14.11
#45184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#45184C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45184C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45184C#FFFFFF#000000##FFFFFF
##45184C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D284E
Deuteranopia (green-blind)
#1E2D4B
Tritanopia (blue-blind)
#46202F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #45184c;
/* rgb */ color: rgb(69, 24, 76);
/* oklch */ color: oklch(30.3% 0.102 322.1);
Tailwind
colors: {
  custom: {
    50: '#7b587e',
    500: '#45184c',
    950: '#000000',
  },
}
SCSS
$custom: #45184c;
$custom-light: #7b587e;
$custom-dark: #000000;
JSON
{
  "hex": "#45184c",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 291.923,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30295,
    "c": 0.10165,
    "h": 322.1
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#45184C
secondary
#46833D
accent
#DB4C60
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #45184C

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

Preview Lab → · Contrast checker → · Palette generator →

#45184C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva