#451D7F#451D7F

#451D7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.153 H 296.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#451D7F
RGBrgb(69, 29, 127)
HSLhsl(264, 63%, 31%)
HSVhsv(264, 77%, 50%)
CMYKcmyk(45.7%, 77.2%, 0%, 50.2%)
CIE-LABlab(22.57, 40.53, -48.00)
CIE-LCHlch(22.57, 62.82, 310.18°)
OKLaboklab(35.07% 0.0672 -0.1374)
OKLCHoklch(35.07% 0.153 296.1)
XYZxyz(6.7234, 3.6761, 20.4299)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451D7F #577F1D
analogous
#1D267F #451D7F #761D7F
triadic
#451D7F #7F451D #1D7F45
tetradic
#451D7F #7F1D26 #577F1D #1D7F76
square
#451D7F #7F1D26 #577F1D #1D7F76
split-complementary
#451D7F #7F761D #267F1D
monochromatic
#0F061B #2A124D #451D7F #6028B1 #7E42D4

Accessibility & contrast

On white

12.10
#451D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#451D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451D7F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451D7F#FFFFFF#000000##FFFFFF
##451D7F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#35374D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451d7f;
/* rgb */ color: rgb(69, 29, 127);
/* oklch */ color: oklch(35.1% 0.153 296.1);
Tailwind
colors: {
  custom: {
    50: '#7f5da5',
    500: '#451d7f',
    950: '#000000',
  },
}
SCSS
$custom: #451d7f;
$custom-light: #7f5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#451d7f",
  "rgb": {
    "r": 69,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 264.49,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35073,
    "c": 0.153,
    "h": 296.1
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#451D7F
secondary
#86B245
accent
#E642A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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