#450C42#450C42

#450C42 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.109 H 330.3°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#450C42
RGBrgb(69, 12, 66)
HSLhsl(303, 70%, 16%)
HSVhsv(303, 83%, 27%)
CMYKcmyk(0%, 82.6%, 4.3%, 72.9%)
CIE-LABlab(15.07, 33.51, -19.62)
CIE-LCHlch(15.07, 38.83, 329.65°)
OKLaboklab(28.23% 0.0951 -0.0541)
OKLCHoklch(28.23% 0.109 330.3)
XYZxyz(3.5691, 1.9218, 5.3362)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#450C42 #0C450F
analogous
#2B0C45 #450C42 #450C25
triadic
#450C42 #42450C #0C4245
tetradic
#450C42 #452B0C #0C450F #0C2545
square
#450C42 #452B0C #0C450F #0C2545
split-complementary
#450C42 #25450C #0C452B
monochromatic
#1A0519 #1A0519 #450C42 #791574 #AD1EA6

Accessibility & contrast

On white

15.17
#450C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#450C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #450C42
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##450C42#FFFFFF#000000##FFFFFF
##450C421.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062143
Deuteranopia (green-blind)
#1D2941
Tritanopia (blue-blind)
#481426
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #450c42;
/* rgb */ color: rgb(69, 12, 66);
/* oklch */ color: oklch(28.2% 0.109 330.3);
Tailwind
colors: {
  custom: {
    50: '#7b5276',
    500: '#450c42',
    950: '#000000',
  },
}
SCSS
$custom: #450c42;
$custom-light: #7b5276;
$custom-dark: #000000;
JSON
{
  "hex": "#450c42",
  "rgb": {
    "r": 69,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 303.158,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28231,
    "c": 0.1094,
    "h": 330.3
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#450C42
secondary
#2C8130
accent
#ED443B
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #450C42

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

Preview Lab → · Contrast checker → · Palette generator →

#450C42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva