#452D9F#452D9F

#452D9F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.173 H 285.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#452D9F
RGBrgb(69, 45, 159)
HSLhsl(253, 56%, 40%)
HSVhsv(253, 72%, 62%)
CMYKcmyk(56.6%, 71.7%, 0%, 37.6%)
CIE-LABlab(28.50, 41.45, -58.13)
CIE-LCHlch(28.50, 71.39, 305.49°)
OKLaboklab(40.17% 0.0454 -0.1672)
OKLCHoklch(40.17% 0.173 285.2)
XYZxyz(9.6487, 5.6446, 33.3753)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452D9F #879F2D
analogous
#2D4E9F #452D9F #7E2D9F
triadic
#452D9F #9F452D #2D9F45
tetradic
#452D9F #9F2D4E #879F2D #2D9F7E
square
#452D9F #9F2D4E #879F2D #2D9F7E
split-complementary
#452D9F #9F7E2D #4E9F2D
monochromatic
#1C1240 #30206F #452D9F #5D40C9 #8670D6

Accessibility & contrast

On white

9.86
#452D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#452D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452D9F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452D9F#FFFFFF#000000##FFFFFF
##452D9F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#1B4B63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #452d9f;
/* rgb */ color: rgb(69, 45, 159);
/* oklch */ color: oklch(40.2% 0.173 285.2);
Tailwind
colors: {
  custom: {
    50: '#8368bc',
    500: '#452d9f',
    950: '#000000',
  },
}
SCSS
$custom: #452d9f;
$custom-light: #8368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#452d9f",
  "rgb": {
    "r": 69,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 252.632,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.40169,
    "c": 0.1733,
    "h": 285.2
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#452D9F
secondary
#ACBE6A
accent
#DF49BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #452D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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