#450C40#450C40

#450C40 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.108 H 331.9°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#450C40
RGBrgb(69, 12, 64)
HSLhsl(305, 70%, 16%)
HSVhsv(305, 83%, 27%)
CMYKcmyk(0%, 82.6%, 7.2%, 72.9%)
CIE-LABlab(14.95, 33.13, -18.41)
CIE-LCHlch(14.95, 37.91, 330.94°)
OKLaboklab(28.1% 0.095 -0.0506)
OKLCHoklch(28.1% 0.108 331.9)
XYZxyz(3.5111, 1.8986, 5.0310)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#450C40 #0C4511
analogous
#2D0C45 #450C40 #450C23
triadic
#450C40 #40450C #0C4045
tetradic
#450C40 #452D0C #0C4511 #0C2345
square
#450C40 #452D0C #0C4511 #0C2345
split-complementary
#450C40 #23450C #0C452D
monochromatic
#1A0518 #1A0518 #450C40 #791570 #AD1EA1

Accessibility & contrast

On white

15.22
#450C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #450C40
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##450C40#FFFFFF#000000##FFFFFF
##450C401.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082041
Deuteranopia (green-blind)
#1E283F
Tritanopia (blue-blind)
#481325
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #450c40;
/* rgb */ color: rgb(69, 12, 64);
/* oklch */ color: oklch(28.1% 0.108 331.9);
Tailwind
colors: {
  custom: {
    50: '#7b5275',
    500: '#450c40',
    950: '#000000',
  },
}
SCSS
$custom: #450c40;
$custom-light: #7b5275;
$custom-dark: #000000;
JSON
{
  "hex": "#450c40",
  "rgb": {
    "r": 69,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 305.263,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28101,
    "c": 0.10766,
    "h": 331.9
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#450C40
secondary
#2C8133
accent
#ED4A3B
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #450C40

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

Preview Lab → · Contrast checker → · Palette generator →

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