#450F52#450F52

#450F52 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.121 H 318.9°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#450F52
RGBrgb(69, 15, 82)
HSLhsl(288, 69%, 19%)
HSVhsv(288, 82%, 32%)
CMYKcmyk(15.9%, 81.7%, 0%, 67.8%)
CIE-LABlab(16.58, 35.59, -28.25)
CIE-LCHlch(16.58, 45.44, 321.56°)
OKLaboklab(29.67% 0.091 -0.0793)
OKLCHoklch(29.67% 0.121 318.9)
XYZxyz(4.1479, 2.2163, 8.1903)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#450F52 #1C520F
analogous
#240F52 #450F52 #520F3E
triadic
#450F52 #52450F #0F5245
tetradic
#450F52 #52240F #1C520F #0F3E52
square
#450F52 #52240F #1C520F #0F3E52
split-complementary
#450F52 #3E520F #0F5224
monochromatic
#16051A #19061E #450F52 #711886 #9C22B9

Accessibility & contrast

On white

14.55
#450F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#450F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #450F52
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##450F52#FFFFFF#000000##FFFFFF
##450F521.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#132B51
Tritanopia (blue-blind)
#451D30
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #450f52;
/* rgb */ color: rgb(69, 15, 82);
/* oklch */ color: oklch(29.7% 0.121 318.9);
Tailwind
colors: {
  custom: {
    50: '#7b5483',
    500: '#450f52',
    950: '#000000',
  },
}
SCSS
$custom: #450f52;
$custom-light: #7b5483;
$custom-dark: #000000;
JSON
{
  "hex": "#450f52",
  "rgb": {
    "r": 69,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 288.358,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.12073,
    "h": 318.9
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#450F52
secondary
#428C31
accent
#EC3C5E
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #450F52

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

Preview Lab → · Contrast checker → · Palette generator →

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