#452E87#452E87

#452E87 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.141 H 289.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#452E87
RGBrgb(69, 46, 135)
HSLhsl(256, 49%, 35%)
HSVhsv(256, 66%, 53%)
CMYKcmyk(48.9%, 65.9%, 0%, 47.1%)
CIE-LABlab(26.64, 33.50, -46.38)
CIE-LCHlch(26.64, 57.22, 305.84°)
OKLaboklab(38.2% 0.0482 -0.1328)
OKLCHoklch(38.2% 0.141 289.9)
XYZxyz(7.8032, 4.9682, 23.4648)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E87 #70872E
analogous
#2E4387 #452E87 #712E87
triadic
#452E87 #87452E #2E8745
tetradic
#452E87 #872E43 #70872E #2E8771
square
#452E87 #872E43 #70872E #2E8771
split-complementary
#452E87 #87712E #43872E
monochromatic
#160F2C #2E1E59 #452E87 #5C3EB5 #7F65CA

Accessibility & contrast

On white

10.53
#452E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#452E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E87
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E87#FFFFFF#000000##FFFFFF
##452E871.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#304356
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #452e87;
/* rgb */ color: rgb(69, 46, 135);
/* oklch */ color: oklch(38.2% 0.141 289.9);
Tailwind
colors: {
  custom: {
    50: '#7f68ab',
    500: '#452e87',
    950: '#000000',
  },
}
SCSS
$custom: #452e87;
$custom-light: #7f68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452e87",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 255.506,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.14124,
    "h": 289.9
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#452E87
secondary
#9CB160
accent
#D94FB5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #452E87

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

Preview Lab → · Contrast checker → · Palette generator →

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