#451A71#451A71

#451A71 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.140 H 301.6°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#451A71
RGBrgb(69, 26, 113)
HSLhsl(270, 63%, 27%)
HSVhsv(270, 77%, 44%)
CMYKcmyk(38.9%, 77%, 0%, 55.7%)
CIE-LABlab(20.81, 38.21, -41.92)
CIE-LCHlch(20.81, 56.72, 312.35°)
OKLaboklab(33.45% 0.0736 -0.1196)
OKLCHoklch(33.45% 0.14 301.6)
XYZxyz(5.8036, 3.1962, 15.9308)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451A71 #46711A
analogous
#1A1B71 #451A71 #711A71
triadic
#451A71 #71451A #1A7145
tetradic
#451A71 #711A1B #46711A #1A7171
square
#451A71 #711A1B #46711A #1A7171
split-complementary
#451A71 #71711A #1B711A
monochromatic
#0F0619 #270F3F #451A71 #6325A3 #8235D0

Accessibility & contrast

On white

12.81
#451A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#451A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451A71
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451A71#FFFFFF#000000##FFFFFF
##451A711.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#3B3044
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451a71;
/* rgb */ color: rgb(69, 26, 113);
/* oklch */ color: oklch(33.4% 0.140 301.6);
Tailwind
colors: {
  custom: {
    50: '#7d5b9b',
    500: '#451a71',
    950: '#000000',
  },
}
SCSS
$custom: #451a71;
$custom-light: #7d5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#451a71",
  "rgb": {
    "r": 69,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 269.655,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33449,
    "c": 0.14041,
    "h": 301.6
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#451A71
secondary
#74A641
accent
#E64295
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451A71

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

Preview Lab → · Contrast checker → · Palette generator →

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