#451B52#451B52

#451B52 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.1% C 0.103 H 317.4°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#451B52
RGBrgb(69, 27, 82)
HSLhsl(286, 50%, 21%)
HSVhsv(286, 67%, 32%)
CMYKcmyk(15.9%, 67.1%, 0%, 67.8%)
CIE-LABlab(18.62, 29.88, -24.99)
CIE-LCHlch(18.62, 38.95, 320.10°)
OKLaboklab(31.13% 0.0761 -0.0699)
OKLCHoklch(31.13% 0.103 317.4)
XYZxyz(4.3689, 2.6584, 8.2640)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B52 #28521B
analogous
#2A1B52 #451B52 #521B44
triadic
#451B52 #52451B #1B5245
tetradic
#451B52 #522A1B #28521B #1B4452
square
#451B52 #522A1B #28521B #1B4452
split-complementary
#451B52 #44521B #1B522A
monochromatic
#130817 #1E0C24 #451B52 #6C2A80 #9239AE

Accessibility & contrast

On white

13.71
#451B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#451B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B52
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B52#FFFFFF#000000##FFFFFF
##451B521.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#452433
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #451b52;
/* rgb */ color: rgb(69, 27, 82);
/* oklch */ color: oklch(31.1% 0.103 317.4);
Tailwind
colors: {
  custom: {
    50: '#7b5a83',
    500: '#451b52',
    950: '#000000',
  },
}
SCSS
$custom: #451b52;
$custom-light: #7b5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#451b52",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 285.818,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31127,
    "c": 0.10329,
    "h": 317.4
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#451B52
secondary
#528841
accent
#DA4E6F
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #451B52

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

Preview Lab → · Contrast checker → · Palette generator →

#451B52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva