#451F8F#451F8F

#451F8F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.169 H 291.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#451F8F
RGBrgb(69, 31, 143)
HSLhsl(260, 64%, 34%)
HSVhsv(260, 78%, 56%)
CMYKcmyk(51.7%, 78.3%, 0%, 43.9%)
CIE-LABlab(24.41, 44.03, -55.01)
CIE-LCHlch(24.41, 70.46, 308.67°)
OKLaboklab(36.83% 0.061 -0.158)
OKLCHoklch(36.83% 0.169 291.1)
XYZxyz(7.9007, 4.2280, 26.3811)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F8F #698F1F
analogous
#1F318F #451F8F #7D1F8F
triadic
#451F8F #8F451F #1F8F45
tetradic
#451F8F #8F1F31 #698F1F #1F8F7D
square
#451F8F #8F1F31 #698F1F #1F8F7D
split-complementary
#451F8F #8F7D1F #318F1F
monochromatic
#14092A #2D145D #451F8F #5D2AC1 #7E4FD9

Accessibility & contrast

On white

11.38
#451F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#451F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F8F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F8F#FFFFFF#000000##FFFFFF
##451F8F1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#2B3E56
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #451f8f;
/* rgb */ color: rgb(69, 31, 143);
/* oklch */ color: oklch(36.8% 0.169 291.1);
Tailwind
colors: {
  custom: {
    50: '#815fb1',
    500: '#451f8f',
    950: '#000000',
  },
}
SCSS
$custom: #451f8f;
$custom-light: #815fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#451f8f",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 260.357,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36825,
    "c": 0.16939,
    "h": 291.1
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#451F8F
secondary
#97BC4E
accent
#E740AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #451F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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