#451578#451578

#451578 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.154 H 299.8°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#451578
RGBrgb(69, 21, 120)
HSLhsl(269, 70%, 28%)
HSVhsv(269, 83%, 47%)
CMYKcmyk(42.5%, 82.5%, 0%, 52.9%)
CIE-LABlab(20.66, 42.28, -46.66)
CIE-LCHlch(20.66, 62.97, 312.18°)
OKLaboklab(33.54% 0.0763 -0.1335)
OKLCHoklch(33.54% 0.154 299.8)
XYZxyz(6.1117, 3.1575, 18.0531)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451578 #487815
analogous
#151678 #451578 #771578
triadic
#451578 #784515 #157845
tetradic
#451578 #781516 #487815 #157877
square
#451578 #781516 #487815 #157877
split-complementary
#451578 #787715 #167815
monochromatic
#0F051A #270C44 #451578 #631EAC #812DDA

Accessibility & contrast

On white

12.87
#451578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#451578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451578
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451578#FFFFFF#000000##FFFFFF
##4515781.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#393047
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451578;
/* rgb */ color: rgb(69, 21, 120);
/* oklch */ color: oklch(33.5% 0.154 299.8);
Tailwind
colors: {
  custom: {
    50: '#7f59a0',
    500: '#451578',
    950: '#000000',
  },
}
SCSS
$custom: #451578;
$custom-light: #7f59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#451578",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 269.091,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3354,
    "c": 0.15372,
    "h": 299.8
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#451578
secondary
#76AE3B
accent
#ED3B97
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #451578

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

Preview Lab → · Contrast checker → · Palette generator →

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