#45274F#45274F

#45274F is a dark, moderate purple. Relative luminance 0.033; OKLCH L 32.9% C 0.077 H 317.3°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#45274F
RGBrgb(69, 39, 79)
HSLhsl(285, 34%, 23%)
HSVhsv(285, 51%, 31%)
CMYKcmyk(12.7%, 50.6%, 0%, 69%)
CIE-LABlab(21.14, 22.02, -18.99)
CIE-LCHlch(21.14, 29.08, 319.23°)
OKLaboklab(32.92% 0.0569 -0.0526)
OKLCHoklch(32.92% 0.077 317.3)
XYZxyz(4.5908, 3.2809, 7.7871)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45274F #314F27
analogous
#31274F #45274F #4F2745
triadic
#45274F #4F4527 #274F45
tetradic
#45274F #4F3127 #314F27 #27454F
square
#45274F #4F3127 #314F27 #27454F
split-complementary
#45274F #454F27 #274F31
monochromatic
#120A14 #211326 #45274F #693B78 #8D4FA1

Accessibility & contrast

On white

12.68
#45274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#45274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45274F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45274F#FFFFFF#000000##FFFFFF
##45274F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#28344E
Tritanopia (blue-blind)
#452D37
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #45274f;
/* rgb */ color: rgb(69, 39, 79);
/* oklch */ color: oklch(32.9% 0.077 317.3);
Tailwind
colors: {
  custom: {
    50: '#7a6280',
    500: '#45274f',
    950: '#000000',
  },
}
SCSS
$custom: #45274f;
$custom-light: #7a6280;
$custom-dark: #000000;
JSON
{
  "hex": "#45274f",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 285,
    "s": 33.898,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32919,
    "c": 0.07743,
    "h": 317.3
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#45274F
secondary
#5C8250
accent
#CA5E79
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#09050A
muted
#7B797C

Preview Lab

Preview with #45274F

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

Preview Lab → · Contrast checker → · Palette generator →

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