#451B84#451B84

#451B84 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.161 H 294.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#451B84
RGBrgb(69, 27, 132)
HSLhsl(264, 66%, 31%)
HSVhsv(264, 80%, 52%)
CMYKcmyk(47.7%, 79.5%, 0%, 48.2%)
CIE-LABlab(22.71, 42.85, -50.93)
CIE-LCHlch(22.71, 66.56, 310.07°)
OKLaboklab(35.31% 0.0676 -0.146)
OKLCHoklch(35.31% 0.161 294.8)
XYZxyz(7.0099, 3.7148, 22.1730)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B84 #5A841B
analogous
#1B2584 #451B84 #791B84
triadic
#451B84 #84451B #1B8445
tetradic
#451B84 #841B25 #5A841B #1B8479
square
#451B84 #841B25 #5A841B #1B8479
split-complementary
#451B84 #84791B #25841B
monochromatic
#10061E #2A1151 #451B84 #6025B7 #7E41D8

Accessibility & contrast

On white

12.05
#451B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#451B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B84
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B84#FFFFFF#000000##FFFFFF
##451B841.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#33384F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451b84;
/* rgb */ color: rgb(69, 27, 132);
/* oklch */ color: oklch(35.3% 0.161 294.8);
Tailwind
colors: {
  custom: {
    50: '#805da9',
    500: '#451b84',
    950: '#000000',
  },
}
SCSS
$custom: #451b84;
$custom-light: #805da9;
$custom-dark: #000000;
JSON
{
  "hex": "#451b84",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 264,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35311,
    "c": 0.16092,
    "h": 294.8
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#451B84
secondary
#89B743
accent
#E93FA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #451B84

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

Preview Lab → · Contrast checker → · Palette generator →

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