#451F79#451F79

#451F79 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.144 H 297.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#451F79
RGBrgb(69, 31, 121)
HSLhsl(265, 59%, 30%)
HSVhsv(265, 74%, 47%)
CMYKcmyk(43%, 74.4%, 0%, 52.5%)
CIE-LABlab(22.39, 37.87, -44.48)
CIE-LCHlch(22.39, 58.42, 310.42°)
OKLaboklab(34.78% 0.0667 -0.1271)
OKLCHoklch(34.78% 0.144 297.7)
XYZxyz(6.3945, 3.6255, 18.4484)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F79 #53791F
analogous
#1F2679 #451F79 #721F79
triadic
#451F79 #79451F #1F7945
tetradic
#451F79 #791F26 #53791F #1F7972
square
#451F79 #791F26 #53791F #1F7972
split-complementary
#451F79 #79721F #26791F
monochromatic
#0E0618 #291348 #451F79 #612BAA #7E43CF

Accessibility & contrast

On white

12.17
#451F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#451F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F79
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F79#FFFFFF#000000##FFFFFF
##451F791.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#38364A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451f79;
/* rgb */ color: rgb(69, 31, 121);
/* oklch */ color: oklch(34.8% 0.144 297.7);
Tailwind
colors: {
  custom: {
    50: '#7e5ea0',
    500: '#451f79',
    950: '#000000',
  },
}
SCSS
$custom: #451f79;
$custom-light: #7e5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#451f79",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 265.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34782,
    "c": 0.14354,
    "h": 297.7
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#451F79
secondary
#82AC47
accent
#E245A0
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #451F79

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

Preview Lab → · Contrast checker → · Palette generator →

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