#451B79#451B79

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

Color values

HEX#451B79
RGBrgb(69, 27, 121)
HSLhsl(267, 64%, 29%)
HSVhsv(267, 78%, 47%)
CMYKcmyk(43%, 77.7%, 0%, 52.5%)
CIE-LABlab(21.69, 39.87, -45.63)
CIE-LCHlch(21.69, 60.59, 311.15°)
OKLaboklab(34.28% 0.0707 -0.1305)
OKLCHoklch(34.28% 0.148 298.4)
XYZxyz(6.2965, 3.4295, 18.4157)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B79 #4F791B
analogous
#1B2079 #451B79 #741B79
triadic
#451B79 #79451B #1B7945
tetradic
#451B79 #791B20 #4F791B #1B7974
square
#451B79 #791B20 #4F791B #1B7974
split-complementary
#451B79 #79741B #20791B
monochromatic
#0E0619 #281047 #451B79 #6226AB #7F3BD3

Accessibility & contrast

On white

12.46
#451B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#451B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B79
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B79#FFFFFF#000000##FFFFFF
##451B791.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#383449
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #451b79;
/* rgb */ color: rgb(69, 27, 121);
/* oklch */ color: oklch(34.3% 0.148 298.4);
Tailwind
colors: {
  custom: {
    50: '#7e5ca1',
    500: '#451b79',
    950: '#000000',
  },
}
SCSS
$custom: #451b79;
$custom-light: #7e5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#451b79",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 266.809,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34284,
    "c": 0.14837,
    "h": 298.4
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#451B79
secondary
#7EAD43
accent
#E7419D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #451B79

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

Preview Lab → · Contrast checker → · Palette generator →

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