#451E7B#451E7B

#451E7B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.147 H 297.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#451E7B
RGBrgb(69, 30, 123)
HSLhsl(265, 61%, 30%)
HSVhsv(265, 76%, 48%)
CMYKcmyk(43.9%, 75.6%, 0%, 51.8%)
CIE-LABlab(22.39, 38.94, -45.76)
CIE-LCHlch(22.39, 60.08, 310.39°)
OKLaboklab(34.83% 0.0673 -0.1309)
OKLCHoklch(34.83% 0.147 297.2)
XYZxyz(6.4927, 3.6237, 19.0924)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451E7B #547B1E
analogous
#1E267B #451E7B #731E7B
triadic
#451E7B #7B451E #1E7B45
tetradic
#451E7B #7B1E26 #547B1E #1E7B73
square
#451E7B #7B1E26 #547B1E #1E7B73
split-complementary
#451E7B #7B731E #267B1E
monochromatic
#0E0619 #29124A #451E7B #612AAC #7E42D1

Accessibility & contrast

On white

12.18
#451E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#451E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451E7B
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451E7B#FFFFFF#000000##FFFFFF
##451E7B1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#37364B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451e7b;
/* rgb */ color: rgb(69, 30, 123);
/* oklch */ color: oklch(34.8% 0.147 297.2);
Tailwind
colors: {
  custom: {
    50: '#7e5ea2',
    500: '#451e7b',
    950: '#000000',
  },
}
SCSS
$custom: #451e7b;
$custom-light: #7e5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#451e7b",
  "rgb": {
    "r": 69,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 265.161,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.34832,
    "c": 0.14715,
    "h": 297.2
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#451E7B
secondary
#83AE46
accent
#E444A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #451E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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