#451C78#451C78

#451C78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.146 H 298.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#451C78
RGBrgb(69, 28, 120)
HSLhsl(267, 62%, 29%)
HSVhsv(267, 77%, 47%)
CMYKcmyk(42.5%, 76.7%, 0%, 52.9%)
CIE-LABlab(21.77, 39.11, -44.85)
CIE-LCHlch(21.77, 59.51, 311.09°)
OKLaboklab(34.31% 0.07 -0.1282)
OKLCHoklch(34.31% 0.146 298.6)
XYZxyz(6.2588, 3.4517, 18.1022)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451C78 #4F781C
analogous
#1C2178 #451C78 #731C78
triadic
#451C78 #78451C #1C7845
tetradic
#451C78 #781C21 #4F781C #1C7873
square
#451C78 #781C21 #4F781C #1C7873
split-complementary
#451C78 #78731C #21781C
monochromatic
#0E0619 #281046 #451C78 #6228AA #7F3DD2

Accessibility & contrast

On white

12.42
#451C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#451C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451C78
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451C78#FFFFFF#000000##FFFFFF
##451C781.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#393448
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #451c78;
/* rgb */ color: rgb(69, 28, 120);
/* oklch */ color: oklch(34.3% 0.146 298.6);
Tailwind
colors: {
  custom: {
    50: '#7e5da0',
    500: '#451c78',
    950: '#000000',
  },
}
SCSS
$custom: #451c78;
$custom-light: #7e5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#451c78",
  "rgb": {
    "r": 69,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 266.739,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34314,
    "c": 0.14605,
    "h": 298.6
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#451C78
secondary
#7EAC44
accent
#E5439D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #451C78

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

Preview Lab → · Contrast checker → · Palette generator →

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