#451F8D#451F8D

#451F8D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.167 H 291.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#451F8D
RGBrgb(69, 31, 141)
HSLhsl(261, 64%, 34%)
HSVhsv(261, 78%, 55%)
CMYKcmyk(51.1%, 78%, 0%, 44.7%)
CIE-LABlab(24.22, 43.46, -54.08)
CIE-LCHlch(24.22, 69.38, 308.79°)
OKLaboklab(36.63% 0.0616 -0.1553)
OKLCHoklch(36.63% 0.167 291.6)
XYZxyz(7.7506, 4.1680, 25.5903)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F8D #678D1F
analogous
#1F308D #451F8D #7C1F8D
triadic
#451F8D #8D451F #1F8D45
tetradic
#451F8D #8D1F30 #678D1F #1F8D7C
square
#451F8D #8D1F30 #678D1F #1F8D7C
split-complementary
#451F8D #8D7C1F #308D1F
monochromatic
#140929 #2C145B #451F8D #5E2ABF #7E4ED8

Accessibility & contrast

On white

11.45
#451F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#451F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F8D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F8D#FFFFFF#000000##FFFFFF
##451F8D1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#2D3D55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #451f8d;
/* rgb */ color: rgb(69, 31, 141);
/* oklch */ color: oklch(36.6% 0.167 291.6);
Tailwind
colors: {
  custom: {
    50: '#815faf',
    500: '#451f8d',
    950: '#000000',
  },
}
SCSS
$custom: #451f8d;
$custom-light: #815faf;
$custom-dark: #000000;
JSON
{
  "hex": "#451f8d",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 260.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36632,
    "c": 0.16707,
    "h": 291.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#451F8D
secondary
#95BB4D
accent
#E741AE
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #451F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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