#452D84#452D84

#452D84 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.139 H 291.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#452D84
RGBrgb(69, 45, 132)
HSLhsl(257, 49%, 35%)
HSVhsv(257, 66%, 52%)
CMYKcmyk(47.7%, 65.9%, 0%, 48.2%)
CIE-LABlab(26.18, 33.19, -45.26)
CIE-LCHlch(26.18, 56.13, 306.25°)
OKLaboklab(37.79% 0.0496 -0.1295)
OKLCHoklch(37.79% 0.139 291)
XYZxyz(7.5563, 4.8077, 22.3552)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452D84 #6C842D
analogous
#2D4084 #452D84 #712D84
triadic
#452D84 #84452D #2D8445
tetradic
#452D84 #842D40 #6C842D #2D8471
square
#452D84 #842D40 #6C842D #2D8471
split-complementary
#452D84 #84712D #40842D
monochromatic
#150E29 #2D1D56 #452D84 #5D3DB2 #7E62C9

Accessibility & contrast

On white

10.71
#452D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#452D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452D84
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452D84#FFFFFF#000000##FFFFFF
##452D841.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#324254
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452d84;
/* rgb */ color: rgb(69, 45, 132);
/* oklch */ color: oklch(37.8% 0.139 291.0);
Tailwind
colors: {
  custom: {
    50: '#7e67a8',
    500: '#452d84',
    950: '#000000',
  },
}
SCSS
$custom: #452d84;
$custom-light: #7e67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#452d84",
  "rgb": {
    "r": 69,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 256.552,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37785,
    "c": 0.13865,
    "h": 291
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#452D84
secondary
#99B05D
accent
#D94FB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #452D84

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

Preview Lab → · Contrast checker → · Palette generator →

#452D84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva