#451F71#451F71

#451F71 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.134 H 300.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#451F71
RGBrgb(69, 31, 113)
HSLhsl(268, 57%, 28%)
HSVhsv(268, 73%, 44%)
CMYKcmyk(38.9%, 72.6%, 0%, 55.7%)
CIE-LABlab(21.72, 35.67, -40.45)
CIE-LCHlch(21.72, 53.93, 311.41°)
OKLaboklab(34.09% 0.0682 -0.1153)
OKLCHoklch(34.09% 0.134 300.6)
XYZxyz(5.9241, 3.4374, 15.9710)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F71 #4B711F
analogous
#1F2271 #451F71 #6E1F71
triadic
#451F71 #71451F #1F7145
tetradic
#451F71 #711F22 #4B711F #1F716E
square
#451F71 #711F22 #4B711F #1F716E
split-complementary
#451F71 #716E1F #22711F
monochromatic
#0F0718 #281241 #451F71 #622CA1 #8040CB

Accessibility & contrast

On white

12.45
#451F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451F71
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F71#FFFFFF#000000##FFFFFF
##451F711.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451f71;
/* rgb */ color: rgb(69, 31, 113);
/* oklch */ color: oklch(34.1% 0.134 300.6);
Tailwind
colors: {
  custom: {
    50: '#7d5e9a',
    500: '#451f71',
    950: '#000000',
  },
}
SCSS
$custom: #451f71;
$custom-light: #7d5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#451f71",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 267.805,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3409,
    "c": 0.13394,
    "h": 300.6
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#451F71
secondary
#79A547
accent
#E04899
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451F71

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

Preview Lab → · Contrast checker → · Palette generator →

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