#452A97#452A97

#452A97 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.167 H 287.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#452A97
RGBrgb(69, 42, 151)
HSLhsl(255, 56%, 38%)
HSVhsv(255, 72%, 59%)
CMYKcmyk(54.3%, 72.2%, 0%, 40.8%)
CIE-LABlab(27.17, 40.68, -55.42)
CIE-LCHlch(27.17, 68.74, 306.28°)
OKLaboklab(39% 0.0497 -0.1593)
OKLCHoklch(39% 0.167 287.3)
XYZxyz(8.8665, 5.1551, 29.8000)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A97 #7C972A
analogous
#2A4697 #452A97 #7B2A97
triadic
#452A97 #97452A #2A9745
tetradic
#452A97 #972A46 #7C972A #2A977B
square
#452A97 #972A46 #7C972A #2A977B
split-complementary
#452A97 #977B2A #46972A
monochromatic
#190F37 #2F1D67 #452A97 #5B37C7 #8267D5

Accessibility & contrast

On white

10.34
#452A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#452A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452A97
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A97#FFFFFF#000000##FFFFFF
##452A971.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#24475D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452a97;
/* rgb */ color: rgb(69, 42, 151);
/* oklch */ color: oklch(39.0% 0.167 287.3);
Tailwind
colors: {
  custom: {
    50: '#8166b7',
    500: '#452a97',
    950: '#000000',
  },
}
SCSS
$custom: #452a97;
$custom-light: #8166b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452a97",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 254.862,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39002,
    "c": 0.16685,
    "h": 287.3
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#452A97
secondary
#A5BB62
accent
#E048BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452A97

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

Preview Lab → · Contrast checker → · Palette generator →

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