#450C4F#450C4F

#450C4F is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.2% C 0.121 H 321.1°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#450C4F
RGBrgb(69, 12, 79)
HSLhsl(291, 74%, 18%)
HSVhsv(291, 85%, 31%)
CMYKcmyk(12.7%, 84.8%, 0%, 69%)
CIE-LABlab(15.97, 36.08, -27.19)
CIE-LCHlch(15.97, 45.18, 323.00°)
OKLaboklab(29.16% 0.0944 -0.0762)
OKLCHoklch(29.16% 0.121 321.1)
XYZxyz(3.9968, 2.0929, 7.5891)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#450C4F #164F0C
analogous
#240C4F #450C4F #4F0C37
triadic
#450C4F #4F450C #0C4F45
tetradic
#450C4F #4F240C #164F0C #0C374F
square
#450C4F #4F240C #164F0C #0C374F
split-complementary
#450C4F #374F0C #0C4F24
monochromatic
#17041B #17041B #450C4F #731484 #A21CB9

Accessibility & contrast

On white

14.80
#450C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#450C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #450C4F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##450C4F#FFFFFF#000000##FFFFFF
##450C4F1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#142A4E
Tritanopia (blue-blind)
#461A2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #450c4f;
/* rgb */ color: rgb(69, 12, 79);
/* oklch */ color: oklch(29.2% 0.121 321.1);
Tailwind
colors: {
  custom: {
    50: '#7b5381',
    500: '#450c4f',
    950: '#000000',
  },
}
SCSS
$custom: #450c4f;
$custom-light: #7b5381;
$custom-dark: #000000;
JSON
{
  "hex": "#450c4f",
  "rgb": {
    "r": 69,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 291.045,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29157,
    "c": 0.12131,
    "h": 321.1
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#450C4F
secondary
#3A8B2C
accent
#F03853
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #450C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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