#452D97#452D97

#452D97 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.163 H 286.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#452D97
RGBrgb(69, 45, 151)
HSLhsl(254, 54%, 38%)
HSVhsv(254, 70%, 59%)
CMYKcmyk(54.3%, 70.2%, 0%, 40.8%)
CIE-LABlab(27.78, 38.99, -54.42)
CIE-LCHlch(27.78, 66.95, 305.62°)
OKLaboklab(39.44% 0.0469 -0.1564)
OKLCHoklch(39.44% 0.163 286.7)
XYZxyz(8.9769, 5.3759, 29.8368)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452D97 #7F972D
analogous
#2D4A97 #452D97 #7A2D97
triadic
#452D97 #97452D #2D9745
tetradic
#452D97 #972D4A #7F972D #2D977A
square
#452D97 #972D4A #7F972D #2D977A
split-complementary
#452D97 #977A2D #4A972D
monochromatic
#1A1139 #2F1F68 #452D97 #5B3CC5 #836BD3

Accessibility & contrast

On white

10.12
#452D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#452D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452D97
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452D97#FFFFFF#000000##FFFFFF
##452D971.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#24485E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #452d97;
/* rgb */ color: rgb(69, 45, 151);
/* oklch */ color: oklch(39.4% 0.163 286.7);
Tailwind
colors: {
  custom: {
    50: '#8168b6',
    500: '#452d97',
    950: '#000000',
  },
}
SCSS
$custom: #452d97;
$custom-light: #8168b6;
$custom-dark: #000000;
JSON
{
  "hex": "#452d97",
  "rgb": {
    "r": 69,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 253.585,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39436,
    "c": 0.16326,
    "h": 286.7
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#452D97
secondary
#A7BA66
accent
#DD4ABC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452D97

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

Preview Lab → · Contrast checker → · Palette generator →

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