#452A87#452A87

#452A87 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.147 H 291.0°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#452A87
RGBrgb(69, 42, 135)
HSLhsl(257, 53%, 35%)
HSVhsv(257, 69%, 53%)
CMYKcmyk(48.9%, 68.9%, 0%, 47.1%)
CIE-LABlab(25.77, 35.86, -47.80)
CIE-LCHlch(25.77, 59.76, 306.88°)
OKLaboklab(37.57% 0.0525 -0.1369)
OKLCHoklch(37.57% 0.147 291)
XYZxyz(7.6541, 4.6701, 23.4151)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452A87 #6C872A
analogous
#2A3E87 #452A87 #732A87
triadic
#452A87 #87452A #2A8745
tetradic
#452A87 #872A3E #6C872A #2A8773
square
#452A87 #872A3E #6C872A #2A8773
split-complementary
#452A87 #87732A #3E872A
monochromatic
#150D2A #2D1B58 #452A87 #5D39B6 #7E5ECD

Accessibility & contrast

On white

10.86
#452A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#452A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452A87
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452A87#FFFFFF#000000##FFFFFF
##452A871.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#304155
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452a87;
/* rgb */ color: rgb(69, 42, 135);
/* oklch */ color: oklch(37.6% 0.147 291.0);
Tailwind
colors: {
  custom: {
    50: '#7f65ab',
    500: '#452a87',
    950: '#000000',
  },
}
SCSS
$custom: #452a87;
$custom-light: #7f65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452a87",
  "rgb": {
    "r": 69,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 257.419,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37569,
    "c": 0.14666,
    "h": 291
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#452A87
secondary
#99B35A
accent
#DC4CB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452A87

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

Preview Lab → · Contrast checker → · Palette generator →

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