#451879#451879

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

Color values

HEX#451879
RGBrgb(69, 24, 121)
HSLhsl(268, 67%, 28%)
HSVhsv(268, 80%, 47%)
CMYKcmyk(43%, 80.2%, 0%, 52.5%)
CIE-LABlab(21.20, 41.25, -46.42)
CIE-LCHlch(21.20, 62.10, 311.63°)
OKLaboklab(33.94% 0.0734 -0.1328)
OKLCHoklch(33.94% 0.152 298.9)
XYZxyz(6.2312, 3.2989, 18.3939)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451879 #4C7918
analogous
#181B79 #451879 #751879
triadic
#451879 #794518 #187945
tetradic
#451879 #79181B #4C7918 #187975
square
#451879 #79181B #4C7918 #187975
split-complementary
#451879 #797518 #1B7918
monochromatic
#0F051A #280E46 #451879 #6222AC #8035D7

Accessibility & contrast

On white

12.65
#451879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451879
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451879#FFFFFF#000000##FFFFFF
##4518791.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#383248
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #451879;
/* rgb */ color: rgb(69, 24, 121);
/* oklch */ color: oklch(33.9% 0.152 298.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ba1',
    500: '#451879',
    950: '#000000',
  },
}
SCSS
$custom: #451879;
$custom-light: #7e5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#451879",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 267.835,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33944,
    "c": 0.15172,
    "h": 298.9
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#451879
secondary
#7AAE3F
accent
#EA3E9A
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451879

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

Preview Lab → · Contrast checker → · Palette generator →

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