#451F81#451F81

#451F81 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.153 H 295.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#451F81
RGBrgb(69, 31, 129)
HSLhsl(263, 61%, 31%)
HSVhsv(263, 76%, 51%)
CMYKcmyk(46.5%, 76%, 0%, 49.4%)
CIE-LABlab(23.10, 40.10, -48.39)
CIE-LCHlch(23.10, 62.85, 309.64°)
OKLaboklab(35.5% 0.0648 -0.1386)
OKLCHoklch(35.5% 0.153 295.1)
XYZxyz(6.9056, 3.8300, 21.1400)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F81 #5B811F
analogous
#1F2A81 #451F81 #761F81
triadic
#451F81 #81451F #1F8145
tetradic
#451F81 #811F2A #5B811F #1F8176
square
#451F81 #811F2A #5B811F #1F8176
split-complementary
#451F81 #81761F #2A811F
monochromatic
#10071E #2B1350 #451F81 #5F2BB2 #7E47D3

Accessibility & contrast

On white

11.89
#451F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#451F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F81
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F81#FFFFFF#000000##FFFFFF
##451F811.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#34394E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #451f81;
/* rgb */ color: rgb(69, 31, 129);
/* oklch */ color: oklch(35.5% 0.153 295.1);
Tailwind
colors: {
  custom: {
    50: '#7f5fa6',
    500: '#451f81',
    950: '#000000',
  },
}
SCSS
$custom: #451f81;
$custom-light: #7f5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#451f81",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 263.265,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35503,
    "c": 0.15303,
    "h": 295.1
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#451F81
secondary
#8AB448
accent
#E443A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #451F81

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

Preview Lab → · Contrast checker → · Palette generator →

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