#451D78#451D78

#451D78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.145 H 298.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#451D78
RGBrgb(69, 29, 120)
HSLhsl(266, 61%, 29%)
HSVhsv(266, 76%, 47%)
CMYKcmyk(42.5%, 75.8%, 0%, 52.9%)
CIE-LABlab(21.94, 38.62, -44.57)
CIE-LCHlch(21.94, 58.97, 310.91°)
OKLaboklab(34.44% 0.069 -0.1274)
OKLCHoklch(34.44% 0.145 298.4)
XYZxyz(6.2829, 3.4999, 18.1102)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451D78 #50781D
analogous
#1D2278 #451D78 #731D78
triadic
#451D78 #78451D #1D7845
tetradic
#451D78 #781D22 #50781D #1D7873
square
#451D78 #781D22 #50781D #1D7873
split-complementary
#451D78 #78731D #22781D
monochromatic
#0E0619 #291147 #451D78 #6129A9 #7F3FD1

Accessibility & contrast

On white

12.35
#451D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#451D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451D78
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451D78#FFFFFF#000000##FFFFFF
##451D781.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#383449
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451d78;
/* rgb */ color: rgb(69, 29, 120);
/* oklch */ color: oklch(34.4% 0.145 298.4);
Tailwind
colors: {
  custom: {
    50: '#7e5da0',
    500: '#451d78',
    950: '#000000',
  },
}
SCSS
$custom: #451d78;
$custom-light: #7e5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#451d78",
  "rgb": {
    "r": 69,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 266.374,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34437,
    "c": 0.14484,
    "h": 298.4
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#451D78
secondary
#7FAC45
accent
#E4449E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #451D78

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

Preview Lab → · Contrast checker → · Palette generator →

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