#451E79#451E79

#451E79 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.145 H 297.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#451E79
RGBrgb(69, 30, 121)
HSLhsl(266, 60%, 30%)
HSVhsv(266, 75%, 47%)
CMYKcmyk(43%, 75.2%, 0%, 52.5%)
CIE-LABlab(22.21, 38.38, -44.77)
CIE-LCHlch(22.21, 58.97, 310.61°)
OKLaboklab(34.65% 0.0677 -0.128)
OKLCHoklch(34.65% 0.145 297.9)
XYZxyz(6.3688, 3.5741, 18.4398)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451E79 #52791E
analogous
#1E2579 #451E79 #731E79
triadic
#451E79 #79451E #1E7945
tetradic
#451E79 #791E25 #52791E #1E7973
square
#451E79 #791E25 #52791E #1E7973
split-complementary
#451E79 #79731E #25791E
monochromatic
#0E0619 #291248 #451E79 #612AAA #7F41D0

Accessibility & contrast

On white

12.25
#451E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#451E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451E79
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451E79#FFFFFF#000000##FFFFFF
##451E791.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#383549
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451e79;
/* rgb */ color: rgb(69, 30, 121);
/* oklch */ color: oklch(34.7% 0.145 297.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ea0',
    500: '#451e79',
    950: '#000000',
  },
}
SCSS
$custom: #451e79;
$custom-light: #7e5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#451e79",
  "rgb": {
    "r": 69,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 265.714,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34653,
    "c": 0.14479,
    "h": 297.9
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#451E79
secondary
#81AD46
accent
#E3449F
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #451E79

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

Preview Lab → · Contrast checker → · Palette generator →

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