#451E8F#451E8F

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

Color values

HEX#451E8F
RGBrgb(69, 30, 143)
HSLhsl(261, 65%, 34%)
HSVhsv(261, 79%, 56%)
CMYKcmyk(51.7%, 79%, 0%, 43.9%)
CIE-LABlab(24.25, 44.50, -55.28)
CIE-LCHlch(24.25, 70.96, 308.83°)
OKLaboklab(36.71% 0.0618 -0.1588)
OKLCHoklch(36.71% 0.17 291.3)
XYZxyz(7.8750, 4.1766, 26.3725)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451E8F #688F1E
analogous
#1E308F #451E8F #7E1E8F
triadic
#451E8F #8F451E #1E8F45
tetradic
#451E8F #8F1E30 #688F1E #1E8F7E
square
#451E8F #8F1E30 #688F1E #1E8F7E
split-complementary
#451E8F #8F7E1E #308F1E
monochromatic
#14092A #2D135C #451E8F #5D29C2 #7E4EDA

Accessibility & contrast

On white

11.44
#451E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451E8F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451E8F#FFFFFF#000000##FFFFFF
##451E8F1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451e8f;
/* rgb */ color: rgb(69, 30, 143);
/* oklch */ color: oklch(36.7% 0.170 291.3);
Tailwind
colors: {
  custom: {
    50: '#815fb1',
    500: '#451e8f',
    950: '#000000',
  },
}
SCSS
$custom: #451e8f;
$custom-light: #815fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#451e8f",
  "rgb": {
    "r": 69,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 260.708,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.17041,
    "h": 291.3
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#451E8F
secondary
#96BC4C
accent
#E840AE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #451E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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