#452157#452157

#452157 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.099 H 313.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#452157
RGBrgb(69, 33, 87)
HSLhsl(280, 45%, 24%)
HSVhsv(280, 62%, 34%)
CMYKcmyk(20.7%, 62.1%, 0%, 65.9%)
CIE-LABlab(20.21, 27.69, -25.82)
CIE-LCHlch(20.21, 37.86, 317.00°)
OKLaboklab(32.39% 0.0674 -0.0723)
OKLCHoklch(32.39% 0.099 313)
XYZxyz(4.7181, 3.0412, 9.3534)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452157 #335721
analogous
#2A2157 #452157 #57214E
triadic
#452157 #574521 #215745
tetradic
#452157 #572A21 #335721 #214E57
square
#452157 #572A21 #335721 #214E57
split-complementary
#452157 #4E5721 #21572A
monochromatic
#120816 #22102B #452157 #683283 #8B43B0

Accessibility & contrast

On white

13.06
#452157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#452157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452157
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452157#FFFFFF#000000##FFFFFF
##4521571.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F59
Deuteranopia (green-blind)
#1E3256
Tritanopia (blue-blind)
#432A38
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #452157;
/* rgb */ color: rgb(69, 33, 87);
/* oklch */ color: oklch(32.4% 0.099 313.0);
Tailwind
colors: {
  custom: {
    50: '#7a5e87',
    500: '#452157',
    950: '#000000',
  },
}
SCSS
$custom: #452157;
$custom-light: #7a5e87;
$custom-dark: #000000;
JSON
{
  "hex": "#452157",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 280,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32389,
    "c": 0.09888,
    "h": 313
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#452157
secondary
#5F8B49
accent
#D5537E
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #452157

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

Preview Lab → · Contrast checker → · Palette generator →

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