#451876#451876

#451876 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.148 H 300.0°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#451876
RGBrgb(69, 24, 118)
HSLhsl(269, 66%, 28%)
HSVhsv(269, 80%, 46%)
CMYKcmyk(41.5%, 79.7%, 0%, 53.7%)
CIE-LABlab(20.93, 40.46, -44.95)
CIE-LCHlch(20.93, 60.48, 312.00°)
OKLaboklab(33.67% 0.0743 -0.1284)
OKLCHoklch(33.67% 0.148 300)
XYZxyz(6.0501, 3.2264, 17.4400)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451876 #497618
analogous
#181A76 #451876 #741876
triadic
#451876 #764518 #187645
tetradic
#451876 #76181A #497618 #187674
square
#451876 #76181A #497618 #187674
split-complementary
#451876 #767418 #1A7618
monochromatic
#0F0519 #270E43 #451876 #6322A9 #8133D5

Accessibility & contrast

On white

12.76
#451876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#451876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451876
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451876#FFFFFF#000000##FFFFFF
##4518761.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#3A3146
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451876;
/* rgb */ color: rgb(69, 24, 118);
/* oklch */ color: oklch(33.7% 0.148 300.0);
Tailwind
colors: {
  custom: {
    50: '#7e5a9e',
    500: '#451876',
    950: '#000000',
  },
}
SCSS
$custom: #451876;
$custom-light: #7e5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#451876",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 268.723,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33667,
    "c": 0.14837,
    "h": 300
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#451876
secondary
#77AB3F
accent
#E93F98
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451876

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

Preview Lab → · Contrast checker → · Palette generator →

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