#451A78#451A78

#451A78 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.148 H 299.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#451A78
RGBrgb(69, 26, 120)
HSLhsl(267, 64%, 29%)
HSVhsv(267, 78%, 47%)
CMYKcmyk(42.5%, 78.3%, 0%, 52.9%)
CIE-LABlab(21.43, 40.07, -45.41)
CIE-LCHlch(21.43, 60.56, 311.43°)
OKLaboklab(34.08% 0.0719 -0.1298)
OKLCHoklch(34.08% 0.148 299)
XYZxyz(6.2129, 3.3600, 18.0869)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451A78 #4D781A
analogous
#1A1E78 #451A78 #741A78
triadic
#451A78 #78451A #1A7845
tetradic
#451A78 #781A1E #4D781A #1A7874
square
#451A78 #781A1E #4D781A #1A7874
split-complementary
#451A78 #78741A #1E781A
monochromatic
#0E0519 #280F46 #451A78 #6225AA #8038D4

Accessibility & contrast

On white

12.56
#451A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#451A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451A78
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451A78#FFFFFF#000000##FFFFFF
##451A781.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#393348
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #451a78;
/* rgb */ color: rgb(69, 26, 120);
/* oklch */ color: oklch(34.1% 0.148 299.0);
Tailwind
colors: {
  custom: {
    50: '#7e5ba0',
    500: '#451a78',
    950: '#000000',
  },
}
SCSS
$custom: #451a78;
$custom-light: #7e5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#451a78",
  "rgb": {
    "r": 69,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 267.447,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34076,
    "c": 0.14838,
    "h": 299
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#451A78
secondary
#7BAC41
accent
#E7409B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #451A78

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

Preview Lab → · Contrast checker → · Palette generator →

#451A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva