#451B76#451B76

#451B76 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.145 H 299.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#451B76
RGBrgb(69, 27, 118)
HSLhsl(268, 63%, 28%)
HSVhsv(268, 77%, 46%)
CMYKcmyk(41.5%, 77.1%, 0%, 53.7%)
CIE-LABlab(21.42, 39.06, -44.14)
CIE-LCHlch(21.42, 58.94, 311.50°)
OKLaboklab(34.01% 0.0714 -0.1261)
OKLCHoklch(34.01% 0.145 299.5)
XYZxyz(6.1154, 3.3570, 17.4618)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B76 #4C761B
analogous
#1B1E76 #451B76 #721B76
triadic
#451B76 #76451B #1B7645
tetradic
#451B76 #761B1E #4C761B #1B7672
square
#451B76 #761B1E #4C761B #1B7672
split-complementary
#451B76 #76721B #1E761B
monochromatic
#0F0619 #281044 #451B76 #6226A8 #803AD2

Accessibility & contrast

On white

12.56
#451B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#451B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B76
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B76#FFFFFF#000000##FFFFFF
##451B761.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#393247
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #451b76;
/* rgb */ color: rgb(69, 27, 118);
/* oklch */ color: oklch(34.0% 0.145 299.5);
Tailwind
colors: {
  custom: {
    50: '#7e5c9e',
    500: '#451b76',
    950: '#000000',
  },
}
SCSS
$custom: #451b76;
$custom-light: #7e5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#451b76",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 267.692,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34013,
    "c": 0.14493,
    "h": 299.5
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#451B76
secondary
#7AAA42
accent
#E6429A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451B76

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

Preview Lab → · Contrast checker → · Palette generator →

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