#452B87#452B87

#452B87 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.145 H 290.7°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#452B87
RGBrgb(69, 43, 135)
HSLhsl(257, 52%, 35%)
HSVhsv(257, 68%, 53%)
CMYKcmyk(48.9%, 68.1%, 0%, 47.1%)
CIE-LABlab(25.99, 35.28, -47.45)
CIE-LCHlch(25.99, 59.13, 306.63°)
OKLaboklab(37.72% 0.0515 -0.1359)
OKLCHoklch(37.72% 0.145 290.7)
XYZxyz(7.6901, 4.7419, 23.4271)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452B87 #6D872B
analogous
#2B3F87 #452B87 #732B87
triadic
#452B87 #87452B #2B8745
tetradic
#452B87 #872B3F #6D872B #2B8773
square
#452B87 #872B3F #6D872B #2B8773
split-complementary
#452B87 #87732B #3F872B
monochromatic
#160D2A #2D1C59 #452B87 #5D3AB5 #7F60CC

Accessibility & contrast

On white

10.78
#452B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452B87
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452B87#FFFFFF#000000##FFFFFF
##452B871.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452b87;
/* rgb */ color: rgb(69, 43, 135);
/* oklch */ color: oklch(37.7% 0.145 290.7);
Tailwind
colors: {
  custom: {
    50: '#7f66ab',
    500: '#452b87',
    950: '#000000',
  },
}
SCSS
$custom: #452b87;
$custom-light: #7f66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452b87",
  "rgb": {
    "r": 69,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 256.957,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.14533,
    "h": 290.7
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#452B87
secondary
#9AB25B
accent
#DB4DB3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #452B87

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

Preview Lab → · Contrast checker → · Palette generator →

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