#451A7A#451A7A

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

Color values

HEX#451A7A
RGBrgb(69, 26, 122)
HSLhsl(267, 65%, 29%)
HSVhsv(267, 79%, 48%)
CMYKcmyk(43.4%, 78.7%, 0%, 52.2%)
CIE-LABlab(21.61, 40.61, -46.39)
CIE-LCHlch(21.61, 61.65, 311.20°)
OKLaboklab(34.26% 0.0713 -0.1327)
OKLCHoklch(34.26% 0.151 298.3)
XYZxyz(6.3356, 3.4090, 18.7328)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451A7A #4F7A1A
analogous
#1A1F7A #451A7A #751A7A
triadic
#451A7A #7A451A #1A7A45
tetradic
#451A7A #7A1A1F #4F7A1A #1A7A75
square
#451A7A #7A1A1F #4F7A1A #1A7A75
split-complementary
#451A7A #7A751A #1F7A1A
monochromatic
#0E0519 #280F48 #451A7A #6225AC #7F39D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##451A7A#FFFFFF#000000##FFFFFF
##451A7A1.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)
#00347D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#383349
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #451a7a;
/* rgb */ color: rgb(69, 26, 122);
/* oklch */ color: oklch(34.3% 0.151 298.3);
Tailwind
colors: {
  custom: {
    50: '#7e5ca1',
    500: '#451a7a',
    950: '#000000',
  },
}
SCSS
$custom: #451a7a;
$custom-light: #7e5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#451a7a",
  "rgb": {
    "r": 69,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 266.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3426,
    "c": 0.15065,
    "h": 298.3
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#451A7A
secondary
#7EAE41
accent
#E8409D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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