#451E71#451E71

#451E71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.135 H 300.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#451E71
RGBrgb(69, 30, 113)
HSLhsl(268, 58%, 28%)
HSVhsv(268, 73%, 44%)
CMYKcmyk(38.9%, 73.5%, 0%, 55.7%)
CIE-LABlab(21.53, 36.20, -40.75)
CIE-LCHlch(21.53, 54.51, 311.61°)
OKLaboklab(33.96% 0.0694 -0.1162)
OKLCHoklch(33.96% 0.135 300.8)
XYZxyz(5.8984, 3.3860, 15.9624)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451E71 #4A711E
analogous
#1E2071 #451E71 #6E1E71
triadic
#451E71 #71451E #1E7145
tetradic
#451E71 #711E20 #4A711E #1E716E
square
#451E71 #711E20 #4A711E #1E716E
split-complementary
#451E71 #716E1E #20711E
monochromatic
#0F0618 #271141 #451E71 #632BA1 #803ECC

Accessibility & contrast

On white

12.52
#451E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451E71
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451E71#FFFFFF#000000##FFFFFF
##451E711.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#3B3245
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #451e71;
/* rgb */ color: rgb(69, 30, 113);
/* oklch */ color: oklch(34.0% 0.135 300.8);
Tailwind
colors: {
  custom: {
    50: '#7d5d9a',
    500: '#451e71',
    950: '#000000',
  },
}
SCSS
$custom: #451e71;
$custom-light: #7d5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#451e71",
  "rgb": {
    "r": 69,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 268.193,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33955,
    "c": 0.1353,
    "h": 300.8
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#451E71
secondary
#78A546
accent
#E14799
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451E71

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

Preview Lab → · Contrast checker → · Palette generator →

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