#451878#451878

#451878 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.151 H 299.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#451878
RGBrgb(69, 24, 120)
HSLhsl(268, 67%, 28%)
HSVhsv(268, 80%, 47%)
CMYKcmyk(42.5%, 80%, 0%, 52.9%)
CIE-LABlab(21.11, 40.99, -45.93)
CIE-LCHlch(21.11, 61.56, 311.75°)
OKLaboklab(33.85% 0.0737 -0.1313)
OKLCHoklch(33.85% 0.151 299.3)
XYZxyz(6.1702, 3.2745, 18.0726)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451878 #4B7818
analogous
#181B78 #451878 #751878
triadic
#451878 #784518 #187845
tetradic
#451878 #78181B #4B7818 #187875
square
#451878 #78181B #4B7818 #187875
split-complementary
#451878 #787518 #1B7818
monochromatic
#0F051A #280E45 #451878 #6222AB #8034D6

Accessibility & contrast

On white

12.69
#451878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451878
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451878#FFFFFF#000000##FFFFFF
##4518781.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451878;
/* rgb */ color: rgb(69, 24, 120);
/* oklch */ color: oklch(33.9% 0.151 299.3);
Tailwind
colors: {
  custom: {
    50: '#7e5aa0',
    500: '#451878',
    950: '#000000',
  },
}
SCSS
$custom: #451878;
$custom-light: #7e5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#451878",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 268.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33852,
    "c": 0.15061,
    "h": 299.3
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#451878
secondary
#79AD3F
accent
#EA3E99
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #451878

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

Preview Lab → · Contrast checker → · Palette generator →

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