#451E7F#451E7F

#451E7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.152 H 295.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#451E7F
RGBrgb(69, 30, 127)
HSLhsl(264, 62%, 31%)
HSVhsv(264, 76%, 50%)
CMYKcmyk(45.7%, 76.4%, 0%, 50.2%)
CIE-LABlab(22.74, 40.04, -47.71)
CIE-LCHlch(22.74, 62.29, 310.00°)
OKLaboklab(35.2% 0.0663 -0.1366)
OKLCHoklch(35.2% 0.152 295.9)
XYZxyz(6.7483, 3.7259, 20.4382)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451E7F #587F1E
analogous
#1E277F #451E7F #751E7F
triadic
#451E7F #7F451E #1E7F45
tetradic
#451E7F #7F1E27 #587F1E #1E7F75
square
#451E7F #7F1E27 #587F1E #1E7F75
split-complementary
#451E7F #7F751E #277F1E
monochromatic
#0F071C #2A124D #451E7F #602AB1 #7E44D3

Accessibility & contrast

On white

12.03
#451E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#451E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451E7F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451E7F#FFFFFF#000000##FFFFFF
##451E7F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451e7f;
/* rgb */ color: rgb(69, 30, 127);
/* oklch */ color: oklch(35.2% 0.152 295.9);
Tailwind
colors: {
  custom: {
    50: '#7f5ea5',
    500: '#451e7f',
    950: '#000000',
  },
}
SCSS
$custom: #451e7f;
$custom-light: #7f5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#451e7f",
  "rgb": {
    "r": 69,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 264.124,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35195,
    "c": 0.15185,
    "h": 295.9
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#451E7F
secondary
#87B247
accent
#E543A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #451E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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