#45274E#45274E

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

Color values

HEX#45274E
RGBrgb(69, 39, 78)
HSLhsl(286, 33%, 23%)
HSVhsv(286, 50%, 31%)
CMYKcmyk(11.5%, 50%, 0%, 69.4%)
CIE-LABlab(21.08, 21.78, -18.40)
CIE-LCHlch(21.08, 28.51, 319.80°)
OKLaboklab(32.86% 0.0567 -0.0509)
OKLCHoklch(32.86% 0.076 318.1)
XYZxyz(4.5547, 3.2665, 7.5968)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45274E #304E27
analogous
#31274E #45274E #4E2743
triadic
#45274E #4E4527 #274E45
tetradic
#45274E #4E3127 #304E27 #27434E
square
#45274E #4E3127 #304E27 #27434E
split-complementary
#45274E #434E27 #274E31
monochromatic
#120A14 #211325 #45274E #693B77 #8D50A0

Accessibility & contrast

On white

12.70
#45274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45274E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45274E#FFFFFF#000000##FFFFFF
##45274E1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20314F
Deuteranopia (green-blind)
#29344D
Tritanopia (blue-blind)
#452C36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #45274e;
/* rgb */ color: rgb(69, 39, 78);
/* oklch */ color: oklch(32.9% 0.076 318.1);
Tailwind
colors: {
  custom: {
    50: '#7a627f',
    500: '#45274e',
    950: '#000000',
  },
}
SCSS
$custom: #45274e;
$custom-light: #7a627f;
$custom-dark: #000000;
JSON
{
  "hex": "#45274e",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 286.154,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3286,
    "c": 0.07615,
    "h": 318.1
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#45274E
secondary
#5B8150
accent
#C95E77
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#09050A
muted
#7B797C

Preview Lab

Preview with #45274E

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

Preview Lab → · Contrast checker → · Palette generator →

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