#45274C#45274C

#45274C is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.7% C 0.074 H 319.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#45274C
RGBrgb(69, 39, 76)
HSLhsl(289, 32%, 23%)
HSVhsv(289, 49%, 30%)
CMYKcmyk(9.2%, 48.7%, 0%, 70.2%)
CIE-LABlab(20.97, 21.30, -17.22)
CIE-LCHlch(20.97, 27.39, 321.04°)
OKLaboklab(32.75% 0.0563 -0.0475)
OKLCHoklch(32.75% 0.074 319.8)
XYZxyz(4.4841, 3.2382, 7.2249)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45274C #2E4C27
analogous
#33274C #45274C #4C2740
triadic
#45274C #4C4527 #274C45
tetradic
#45274C #4C3327 #2E4C27 #27404C
square
#45274C #4C3327 #2E4C27 #27404C
split-complementary
#45274C #404C27 #274C33
monochromatic
#120A14 #201224 #45274C #6A3C74 #8E519D

Accessibility & contrast

On white

12.75
#45274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#45274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45274C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45274C#FFFFFF#000000##FFFFFF
##45274C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304D
Deuteranopia (green-blind)
#2A344B
Tritanopia (blue-blind)
#452C36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #45274c;
/* rgb */ color: rgb(69, 39, 76);
/* oklch */ color: oklch(32.7% 0.074 319.8);
Tailwind
colors: {
  custom: {
    50: '#79627e',
    500: '#45274c',
    950: '#000000',
  },
}
SCSS
$custom: #45274c;
$custom-light: #79627e;
$custom-dark: #000000;
JSON
{
  "hex": "#45274c",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 288.649,
    "s": 32.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32745,
    "c": 0.07361,
    "h": 319.8
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#45274C
secondary
#597F50
accent
#C85F73
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#09050A
muted
#7B797C

Preview Lab

Preview with #45274C

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

Preview Lab → · Contrast checker → · Palette generator →

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