#451579#451579

#451579 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.155 H 299.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#451579
RGBrgb(69, 21, 121)
HSLhsl(269, 70%, 28%)
HSVhsv(269, 83%, 47%)
CMYKcmyk(43%, 82.6%, 0%, 52.5%)
CIE-LABlab(20.76, 42.54, -47.15)
CIE-LCHlch(20.76, 63.50, 312.06°)
OKLaboklab(33.63% 0.076 -0.1349)
OKLCHoklch(33.63% 0.155 299.4)
XYZxyz(6.1727, 3.1819, 18.3744)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451579 #497915
analogous
#151779 #451579 #771579
triadic
#451579 #794515 #157945
tetradic
#451579 #791517 #497915 #157977
square
#451579 #791517 #497915 #157977
split-complementary
#451579 #797715 #177915
monochromatic
#0F051A #270C45 #451579 #631EAD #812EDB

Accessibility & contrast

On white

12.83
#451579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#451579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451579
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451579#FFFFFF#000000##FFFFFF
##4515791.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#383147
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451579;
/* rgb */ color: rgb(69, 21, 121);
/* oklch */ color: oklch(33.6% 0.155 299.4);
Tailwind
colors: {
  custom: {
    50: '#7f59a1',
    500: '#451579',
    950: '#000000',
  },
}
SCSS
$custom: #451579;
$custom-light: #7f59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#451579",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 268.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33634,
    "c": 0.15481,
    "h": 299.4
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#451579
secondary
#77AF3B
accent
#ED3B97
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451579

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

Preview Lab → · Contrast checker → · Palette generator →

#451579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva