#450B56#450B56

#450B56 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.129 H 316.9°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#450B56
RGBrgb(69, 11, 86)
HSLhsl(286, 77%, 19%)
HSVhsv(286, 87%, 34%)
CMYKcmyk(19.8%, 87.2%, 0%, 66.3%)
CIE-LABlab(16.39, 37.91, -31.27)
CIE-LCHlch(16.39, 49.15, 320.48°)
OKLaboklab(29.63% 0.0941 -0.0882)
OKLCHoklch(29.63% 0.129 316.9)
XYZxyz(4.2534, 2.1766, 8.9984)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#450B56 #1C560B
analogous
#200B56 #450B56 #560B42
triadic
#450B56 #56450B #0B5645
tetradic
#450B56 #56200B #1C560B #0B4256
square
#450B56 #56200B #1C560B #0B4256
split-complementary
#450B56 #42560B #0B5620
monochromatic
#16031B #190420 #450B56 #71128C #9C19C3

Accessibility & contrast

On white

14.63
#450B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #450B56
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##450B56#FFFFFF#000000##FFFFFF
##450B561.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#0C2A54
Tritanopia (blue-blind)
#441D31
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #450b56;
/* rgb */ color: rgb(69, 11, 86);
/* oklch */ color: oklch(29.6% 0.129 316.9);
Tailwind
colors: {
  custom: {
    50: '#7c5386',
    500: '#450b56',
    950: '#000000',
  },
}
SCSS
$custom: #450b56;
$custom-light: #7c5386;
$custom-dark: #000000;
JSON
{
  "hex": "#450b56",
  "rgb": {
    "r": 69,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 286.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29625,
    "c": 0.12897,
    "h": 316.9
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#450B56
secondary
#42912B
accent
#F4345F
background
#F7F4F8
surface
#EEE8EF
border
#C9C4CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #450B56

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

Preview Lab → · Contrast checker → · Palette generator →

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