#450C47#450C47

#450C47 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.114 H 326.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#450C47
RGBrgb(69, 12, 71)
HSLhsl(298, 71%, 16%)
HSVhsv(298, 83%, 28%)
CMYKcmyk(2.8%, 83.1%, 0%, 72.2%)
CIE-LABlab(15.40, 34.46, -22.59)
CIE-LCHlch(15.40, 41.21, 326.76°)
OKLaboklab(28.57% 0.095 -0.0628)
OKLCHoklch(28.57% 0.114 326.6)
XYZxyz(3.7230, 1.9833, 6.1467)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#450C47 #0E470C
analogous
#280C47 #450C47 #470C2C
triadic
#450C47 #47450C #0C4745
tetradic
#450C47 #47280C #0E470C #0C2C47
square
#450C47 #47280C #0E470C #0C2C47
split-complementary
#450C47 #2C470C #0C4728
monochromatic
#19041A #19041A #450C47 #78157B #AB1EB0

Accessibility & contrast

On white

15.04
#450C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#450C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #450C47
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##450C47#FFFFFF#000000##FFFFFF
##450C471.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#1B2946
Tritanopia (blue-blind)
#471629
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #450c47;
/* rgb */ color: rgb(69, 12, 71);
/* oklch */ color: oklch(28.6% 0.114 326.6);
Tailwind
colors: {
  custom: {
    50: '#7b527a',
    500: '#450c47',
    950: '#000000',
  },
}
SCSS
$custom: #450c47;
$custom-light: #7b527a;
$custom-dark: #000000;
JSON
{
  "hex": "#450c47",
  "rgb": {
    "r": 69,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 297.966,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28572,
    "c": 0.11388,
    "h": 326.6
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#450C47
secondary
#2F832C
accent
#EE3A40
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #450C47

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

Preview Lab → · Contrast checker → · Palette generator →

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