#451A81#451A81

#451A81 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.159 H 295.9°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#451A81
RGBrgb(69, 26, 129)
HSLhsl(265, 66%, 30%)
HSVhsv(265, 80%, 51%)
CMYKcmyk(46.5%, 79.8%, 0%, 49.4%)
CIE-LABlab(22.26, 42.49, -49.77)
CIE-LCHlch(22.26, 65.44, 310.49°)
OKLaboklab(34.91% 0.0693 -0.1426)
OKLCHoklch(34.91% 0.159 295.9)
XYZxyz(6.7850, 3.5888, 21.0998)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451A81 #56811A
analogous
#1A2281 #451A81 #791A81
triadic
#451A81 #81451A #1A8145
tetradic
#451A81 #811A22 #56811A #1A8179
square
#451A81 #811A22 #56811A #1A8179
split-complementary
#451A81 #81791A #22811A
monochromatic
#0F051B #2A104E #451A81 #6024B4 #7E3DD8

Accessibility & contrast

On white

12.22
#451A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#451A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451A81
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451A81#FFFFFF#000000##FFFFFF
##451A811.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#34364D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451a81;
/* rgb */ color: rgb(69, 26, 129);
/* oklch */ color: oklch(34.9% 0.159 295.9);
Tailwind
colors: {
  custom: {
    50: '#7f5ca6',
    500: '#451a81',
    950: '#000000',
  },
}
SCSS
$custom: #451a81;
$custom-light: #7f5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#451a81",
  "rgb": {
    "r": 69,
    "g": 26,
    "b": 129
  },
  "hsl": {
    "h": 265.049,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34914,
    "c": 0.15857,
    "h": 295.9
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#451A81
secondary
#85B542
accent
#E93EA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451A81

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

Preview Lab → · Contrast checker → · Palette generator →

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