#451F8E#451F8E

#451F8E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.168 H 291.4°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#451F8E
RGBrgb(69, 31, 142)
HSLhsl(261, 64%, 34%)
HSVhsv(261, 78%, 56%)
CMYKcmyk(51.4%, 78.2%, 0%, 44.3%)
CIE-LABlab(24.32, 43.74, -54.55)
CIE-LCHlch(24.32, 69.92, 308.73°)
OKLaboklab(36.73% 0.0613 -0.1567)
OKLCHoklch(36.73% 0.168 291.4)
XYZxyz(7.8253, 4.1979, 25.9839)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F8E #688E1F
analogous
#1F308E #451F8E #7D1F8E
triadic
#451F8E #8E451F #1F8E45
tetradic
#451F8E #8E1F30 #688E1F #1F8E7D
square
#451F8E #8E1F30 #688E1F #1F8E7D
split-complementary
#451F8E #8E7D1F #308E1F
monochromatic
#14092A #2D145C #451F8E #5D2AC0 #7E4FD9

Accessibility & contrast

On white

11.42
#451F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#451F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F8E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F8E#FFFFFF#000000##FFFFFF
##451F8E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#2C3E56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #451f8e;
/* rgb */ color: rgb(69, 31, 142);
/* oklch */ color: oklch(36.7% 0.168 291.4);
Tailwind
colors: {
  custom: {
    50: '#815fb0',
    500: '#451f8e',
    950: '#000000',
  },
}
SCSS
$custom: #451f8e;
$custom-light: #815fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#451f8e",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 260.541,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36728,
    "c": 0.16823,
    "h": 291.4
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#451F8E
secondary
#96BB4D
accent
#E741AE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #451F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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