#452D94#452D94

#452D94 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.159 H 287.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#452D94
RGBrgb(69, 45, 148)
HSLhsl(254, 53%, 38%)
HSVhsv(254, 70%, 58%)
CMYKcmyk(53.4%, 69.6%, 0%, 42%)
CIE-LABlab(27.52, 38.07, -53.01)
CIE-LCHlch(27.52, 65.27, 305.69°)
OKLaboklab(39.17% 0.0474 -0.1522)
OKLCHoklch(39.17% 0.159 287.3)
XYZxyz(8.7363, 5.2797, 28.5700)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452D94 #7C942D
analogous
#2D4894 #452D94 #792D94
triadic
#452D94 #94452D #2D9445
tetradic
#452D94 #942D48 #7C942D #2D9479
square
#452D94 #942D48 #7C942D #2D9479
split-complementary
#452D94 #94792D #48942D
monochromatic
#191036 #2F1F65 #452D94 #5B3BC3 #826AD2

Accessibility & contrast

On white

10.21
#452D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#452D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452D94
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452D94#FFFFFF#000000##FFFFFF
##452D941.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#26475D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #452d94;
/* rgb */ color: rgb(69, 45, 148);
/* oklch */ color: oklch(39.2% 0.159 287.3);
Tailwind
colors: {
  custom: {
    50: '#8168b4',
    500: '#452d94',
    950: '#000000',
  },
}
SCSS
$custom: #452d94;
$custom-light: #8168b4;
$custom-dark: #000000;
JSON
{
  "hex": "#452d94",
  "rgb": {
    "r": 69,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 253.981,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.15945,
    "h": 287.3
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#452D94
secondary
#A5B864
accent
#DD4BBB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452D94

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

Preview Lab → · Contrast checker → · Palette generator →

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