#451156#451156

#451156 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.122 H 316.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#451156
RGBrgb(69, 17, 86)
HSLhsl(285, 67%, 20%)
HSVhsv(285, 80%, 34%)
CMYKcmyk(19.8%, 80.2%, 0%, 66.3%)
CIE-LABlab(17.17, 35.65, -30.01)
CIE-LCHlch(17.17, 46.60, 319.91°)
OKLaboklab(30.18% 0.0884 -0.0845)
OKLCHoklch(30.18% 0.122 316.3)
XYZxyz(4.3341, 2.3382, 9.0253)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451156 #225611
analogous
#221156 #451156 #561145
triadic
#451156 #564511 #115645
tetradic
#451156 #562211 #225611 #114556
square
#451156 #562211 #225611 #114556
split-complementary
#451156 #455611 #115622
monochromatic
#14051A #1C0723 #451156 #6E1B89 #9725BC

Accessibility & contrast

On white

14.31
#451156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#451156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451156
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451156#FFFFFF#000000##FFFFFF
##4511561.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#112C54
Tritanopia (blue-blind)
#442032
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #451156;
/* rgb */ color: rgb(69, 17, 86);
/* oklch */ color: oklch(30.2% 0.122 316.3);
Tailwind
colors: {
  custom: {
    50: '#7c5586',
    500: '#451156',
    950: '#000000',
  },
}
SCSS
$custom: #451156;
$custom-light: #7c5586;
$custom-dark: #000000;
JSON
{
  "hex": "#451156",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 285.217,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30177,
    "c": 0.12228,
    "h": 316.3
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#451156
secondary
#4A8F34
accent
#EA3E68
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #451156

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

Preview Lab → · Contrast checker → · Palette generator →

#451156 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva