#451252#451252

#451252 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.117 H 318.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#451252
RGBrgb(69, 18, 82)
HSLhsl(288, 64%, 20%)
HSVhsv(288, 78%, 32%)
CMYKcmyk(15.9%, 78%, 0%, 67.8%)
CIE-LABlab(17.02, 34.33, -27.54)
CIE-LCHlch(17.02, 44.02, 321.26°)
OKLaboklab(29.98% 0.0877 -0.0773)
OKLCHoklch(29.98% 0.117 318.6)
XYZxyz(4.1933, 2.3072, 8.2055)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451252 #1F5212
analogous
#251252 #451252 #52123F
triadic
#451252 #524512 #125245
tetradic
#451252 #522512 #1F5212 #123F52
square
#451252 #522512 #1F5212 #123F52
split-complementary
#451252 #3F5212 #125225
monochromatic
#150619 #1B0720 #451252 #6F1D84 #9928B6

Accessibility & contrast

On white

14.37
#451252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#451252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451252
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451252#FFFFFF#000000##FFFFFF
##4512521.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#162C51
Tritanopia (blue-blind)
#451F30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #451252;
/* rgb */ color: rgb(69, 18, 82);
/* oklch */ color: oklch(30.0% 0.117 318.6);
Tailwind
colors: {
  custom: {
    50: '#7b5683',
    500: '#451252',
    950: '#000000',
  },
}
SCSS
$custom: #451252;
$custom-light: #7b5683;
$custom-dark: #000000;
JSON
{
  "hex": "#451252",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 287.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29977,
    "c": 0.11691,
    "h": 318.6
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#451252
secondary
#468B35
accent
#E74163
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #451252

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

Preview Lab → · Contrast checker → · Palette generator →

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