#451978#451978

#451978 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.150 H 299.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#451978
RGBrgb(69, 25, 120)
HSLhsl(268, 66%, 28%)
HSVhsv(268, 79%, 47%)
CMYKcmyk(42.5%, 79.2%, 0%, 52.9%)
CIE-LABlab(21.27, 40.54, -45.67)
CIE-LCHlch(21.27, 61.06, 311.59°)
OKLaboklab(33.96% 0.0728 -0.1306)
OKLCHoklch(33.96% 0.15 299.1)
XYZxyz(6.1912, 3.3165, 18.0796)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451978 #4C7819
analogous
#191D78 #451978 #741978
triadic
#451978 #784519 #197845
tetradic
#451978 #78191D #4C7819 #197874
square
#451978 #78191D #4C7819 #197874
split-complementary
#451978 #787419 #1D7819
monochromatic
#0F0519 #280E45 #451978 #6224AB #8036D5

Accessibility & contrast

On white

12.62
#451978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#451978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451978
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451978#FFFFFF#000000##FFFFFF
##4519781.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#393248
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #451978;
/* rgb */ color: rgb(69, 25, 120);
/* oklch */ color: oklch(34.0% 0.150 299.1);
Tailwind
colors: {
  custom: {
    50: '#7e5ba0',
    500: '#451978',
    950: '#000000',
  },
}
SCSS
$custom: #451978;
$custom-light: #7e5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#451978",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 267.789,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33962,
    "c": 0.14951,
    "h": 299.1
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#451978
secondary
#7AAD40
accent
#E83F9A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #451978

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

Preview Lab → · Contrast checker → · Palette generator →

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