#451F7D#451F7D

#451F7D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.148 H 296.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#451F7D
RGBrgb(69, 31, 125)
HSLhsl(264, 60%, 31%)
HSVhsv(264, 75%, 49%)
CMYKcmyk(44.8%, 75.2%, 0%, 51%)
CIE-LABlab(22.74, 38.98, -46.45)
CIE-LCHlch(22.74, 60.64, 310.01°)
OKLaboklab(35.14% 0.0658 -0.1329)
OKLCHoklch(35.14% 0.148 296.3)
XYZxyz(6.6449, 3.7257, 19.7671)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F7D #577D1F
analogous
#1F287D #451F7D #741F7D
triadic
#451F7D #7D451F #1F7D45
tetradic
#451F7D #7D1F28 #577D1F #1F7D74
square
#451F7D #7D1F28 #577D1F #1F7D74
split-complementary
#451F7D #7D741F #287D1F
monochromatic
#0F071B #2A134C #451F7D #602BAE #7E45D1

Accessibility & contrast

On white

12.03
#451F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#451F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F7D
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F7D#FFFFFF#000000##FFFFFF
##451F7D1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#36374C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451f7d;
/* rgb */ color: rgb(69, 31, 125);
/* oklch */ color: oklch(35.1% 0.148 296.3);
Tailwind
colors: {
  custom: {
    50: '#7e5ea3',
    500: '#451f7d',
    950: '#000000',
  },
}
SCSS
$custom: #451f7d;
$custom-light: #7e5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#451f7d",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 264.255,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35139,
    "c": 0.1483,
    "h": 296.3
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#451F7D
secondary
#86B048
accent
#E344A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #451F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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