#451B78#451B78

#451B78 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.147 H 298.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#451B78
RGBrgb(69, 27, 120)
HSLhsl(267, 63%, 29%)
HSVhsv(267, 78%, 47%)
CMYKcmyk(42.5%, 77.5%, 0%, 52.9%)
CIE-LABlab(21.60, 39.60, -45.13)
CIE-LCHlch(21.60, 60.04, 311.26°)
OKLaboklab(34.19% 0.0709 -0.129)
OKLCHoklch(34.19% 0.147 298.8)
XYZxyz(6.2355, 3.4051, 18.0944)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B78 #4E781B
analogous
#1B2078 #451B78 #741B78
triadic
#451B78 #78451B #1B7845
tetradic
#451B78 #781B20 #4E781B #1B7874
square
#451B78 #781B20 #4E781B #1B7874
split-complementary
#451B78 #78741B #20781B
monochromatic
#0E0619 #281046 #451B78 #6226AA #7F3BD3

Accessibility & contrast

On white

12.49
#451B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#451B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B78
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B78#FFFFFF#000000##FFFFFF
##451B781.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451b78;
/* rgb */ color: rgb(69, 27, 120);
/* oklch */ color: oklch(34.2% 0.147 298.8);
Tailwind
colors: {
  custom: {
    50: '#7e5ca0',
    500: '#451b78',
    950: '#000000',
  },
}
SCSS
$custom: #451b78;
$custom-light: #7e5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#451b78",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 267.097,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34193,
    "c": 0.14723,
    "h": 298.8
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#451B78
secondary
#7DAC43
accent
#E6419C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #451B78

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

Preview Lab → · Contrast checker → · Palette generator →

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