#451F84#451F84

#451F84 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.157 H 294.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#451F84
RGBrgb(69, 31, 132)
HSLhsl(263, 62%, 32%)
HSVhsv(263, 77%, 52%)
CMYKcmyk(47.7%, 76.5%, 0%, 48.2%)
CIE-LABlab(23.37, 40.94, -49.84)
CIE-LCHlch(23.37, 64.49, 309.40°)
OKLaboklab(35.78% 0.0641 -0.1428)
OKLCHoklch(35.78% 0.157 294.2)
XYZxyz(7.1079, 3.9109, 22.2057)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F84 #5E841F
analogous
#1F2C84 #451F84 #781F84
triadic
#451F84 #84451F #1F8445
tetradic
#451F84 #841F2C #5E841F #1F8478
square
#451F84 #841F2C #5E841F #1F8478
split-complementary
#451F84 #84781F #2C841F
monochromatic
#110821 #2B1352 #451F84 #5F2BB6 #7D49D4

Accessibility & contrast

On white

11.78
#451F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#451F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F84
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F84#FFFFFF#000000##FFFFFF
##451F841.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#323A50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #451f84;
/* rgb */ color: rgb(69, 31, 132);
/* oklch */ color: oklch(35.8% 0.157 294.2);
Tailwind
colors: {
  custom: {
    50: '#7f5fa9',
    500: '#451f84',
    950: '#000000',
  },
}
SCSS
$custom: #451f84;
$custom-light: #7f5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#451f84",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 262.574,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3578,
    "c": 0.15656,
    "h": 294.2
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#451F84
secondary
#8DB748
accent
#E543A8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #451F84

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

Preview Lab → · Contrast checker → · Palette generator →

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