#452D8A#452D8A

#452D8A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.147 H 289.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#452D8A
RGBrgb(69, 45, 138)
HSLhsl(255, 51%, 36%)
HSVhsv(255, 67%, 54%)
CMYKcmyk(50%, 67.4%, 0%, 45.9%)
CIE-LABlab(26.67, 35.02, -48.21)
CIE-LCHlch(26.67, 59.59, 305.99°)
OKLaboklab(38.29% 0.0489 -0.1381)
OKLCHoklch(38.29% 0.147 289.5)
XYZxyz(7.9788, 4.9766, 24.5800)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452D8A #728A2D
analogous
#2D438A #452D8A #732D8A
triadic
#452D8A #8A452D #2D8A45
tetradic
#452D8A #8A2D43 #728A2D #2D8A73
square
#452D8A #8A2D43 #728A2D #2D8A73
split-complementary
#452D8A #8A732D #438A2D
monochromatic
#170F2E #2E1E5C #452D8A #5C3CB8 #8065CD

Accessibility & contrast

On white

10.52
#452D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#452D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452D8A
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452D8A#FFFFFF#000000##FFFFFF
##452D8A1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#2E4457
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #452d8a;
/* rgb */ color: rgb(69, 45, 138);
/* oklch */ color: oklch(38.3% 0.147 289.5);
Tailwind
colors: {
  custom: {
    50: '#7f67ad',
    500: '#452d8a',
    950: '#000000',
  },
}
SCSS
$custom: #452d8a;
$custom-light: #7f67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#452d8a",
  "rgb": {
    "r": 69,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 255.484,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.14654,
    "h": 289.5
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#452D8A
secondary
#9EB360
accent
#DA4DB6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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