#45274A#45274A

#45274A is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.6% C 0.071 H 321.7°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#45274A
RGBrgb(69, 39, 74)
HSLhsl(291, 31%, 22%)
HSVhsv(291, 47%, 29%)
CMYKcmyk(6.8%, 47.3%, 0%, 71%)
CIE-LABlab(20.87, 20.83, -16.03)
CIE-LCHlch(20.87, 26.28, 322.41°)
OKLaboklab(32.63% 0.0558 -0.0441)
OKLCHoklch(32.63% 0.071 321.7)
XYZxyz(4.4157, 3.2108, 6.8644)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45274A #2C4A27
analogous
#34274A #45274A #4A273E
triadic
#45274A #4A4527 #274A45
tetradic
#45274A #4A3427 #2C4A27 #273E4A
square
#45274A #4A3427 #2C4A27 #273E4A
split-complementary
#45274A #3E4A27 #274A34
monochromatic
#130B14 #201222 #45274A #6A3C72 #90519A

Accessibility & contrast

On white

12.79
#45274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#45274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45274A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45274A#FFFFFF#000000##FFFFFF
##45274A1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304B
Deuteranopia (green-blind)
#2B3349
Tritanopia (blue-blind)
#462B35
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #45274a;
/* rgb */ color: rgb(69, 39, 74);
/* oklch */ color: oklch(32.6% 0.071 321.7);
Tailwind
colors: {
  custom: {
    50: '#79627c',
    500: '#45274a',
    950: '#000000',
  },
}
SCSS
$custom: #45274a;
$custom-light: #79627c;
$custom-dark: #000000;
JSON
{
  "hex": "#45274a",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 291.429,
    "s": 30.973,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.07111,
    "h": 321.7
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#45274A
secondary
#577D50
accent
#C7616F
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#090509
muted
#7B797B

Preview Lab

Preview with #45274A

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

Preview Lab → · Contrast checker → · Palette generator →

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