#452A8A#452A8A

#452A8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.150 H 290.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#452A8A
RGBrgb(69, 42, 138)
HSLhsl(257, 53%, 35%)
HSVhsv(257, 70%, 54%)
CMYKcmyk(50%, 69.6%, 0%, 45.9%)
CIE-LABlab(26.03, 36.76, -49.26)
CIE-LCHlch(26.03, 61.46, 306.73°)
OKLaboklab(37.83% 0.0521 -0.1412)
OKLCHoklch(37.83% 0.15 290.2)
XYZxyz(7.8683, 4.7558, 24.5432)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A8A #6F8A2A
analogous
#2A3F8A #452A8A #752A8A
triadic
#452A8A #8A452A #2A8A45
tetradic
#452A8A #8A2A3F #6F8A2A #2A8A75
square
#452A8A #8A2A3F #6F8A2A #2A8A75
split-complementary
#452A8A #8A752A #3F8A2A
monochromatic
#160D2C #2E1C5B #452A8A #5C38B9 #7F60CF

Accessibility & contrast

On white

10.76
#452A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#452A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452A8A
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A8A#FFFFFF#000000##FFFFFF
##452A8A1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#2E4256
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452a8a;
/* rgb */ color: rgb(69, 42, 138);
/* oklch */ color: oklch(37.8% 0.150 290.2);
Tailwind
colors: {
  custom: {
    50: '#7f66ad',
    500: '#452a8a',
    950: '#000000',
  },
}
SCSS
$custom: #452a8a;
$custom-light: #7f66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#452a8a",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 256.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3783,
    "c": 0.15049,
    "h": 290.2
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#452A8A
secondary
#9BB45B
accent
#DD4BB4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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