#452D95#452D95

#452D95 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.161 H 287.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#452D95
RGBrgb(69, 45, 149)
HSLhsl(254, 54%, 38%)
HSVhsv(254, 70%, 58%)
CMYKcmyk(53.7%, 69.8%, 0%, 41.6%)
CIE-LABlab(27.60, 38.38, -53.48)
CIE-LCHlch(27.60, 65.83, 305.66°)
OKLaboklab(39.26% 0.0473 -0.1536)
OKLCHoklch(39.26% 0.161 287.1)
XYZxyz(8.8158, 5.3115, 28.9886)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452D95 #7D952D
analogous
#2D4995 #452D95 #792D95
triadic
#452D95 #95452D #2D9545
tetradic
#452D95 #952D49 #7D952D #2D9579
square
#452D95 #952D49 #7D952D #2D9579
split-complementary
#452D95 #95792D #49952D
monochromatic
#191137 #2F1F66 #452D95 #5B3BC4 #826AD2

Accessibility & contrast

On white

10.18
#452D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452D95
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452D95#FFFFFF#000000##FFFFFF
##452D951.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#26485D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #452d95;
/* rgb */ color: rgb(69, 45, 149);
/* oklch */ color: oklch(39.3% 0.161 287.1);
Tailwind
colors: {
  custom: {
    50: '#8168b5',
    500: '#452d95',
    950: '#000000',
  },
}
SCSS
$custom: #452d95;
$custom-light: #8168b5;
$custom-dark: #000000;
JSON
{
  "hex": "#452d95",
  "rgb": {
    "r": 69,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 253.846,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39256,
    "c": 0.16072,
    "h": 287.1
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #452D95

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

Preview Lab → · Contrast checker → · Palette generator →

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