#451F7F#451F7F

#451F7F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.151 H 295.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#451F7F
RGBrgb(69, 31, 127)
HSLhsl(264, 61%, 31%)
HSVhsv(264, 76%, 50%)
CMYKcmyk(45.7%, 75.6%, 0%, 50.2%)
CIE-LABlab(22.92, 39.54, -47.42)
CIE-LCHlch(22.92, 61.75, 309.82°)
OKLaboklab(35.32% 0.0653 -0.1358)
OKLCHoklch(35.32% 0.151 295.7)
XYZxyz(6.7740, 3.7773, 20.4468)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F7F #597F1F
analogous
#1F297F #451F7F #751F7F
triadic
#451F7F #7F451F #1F7F45
tetradic
#451F7F #7F1F29 #597F1F #1F7F75
square
#451F7F #7F1F29 #597F1F #1F7F75
split-complementary
#451F7F #7F751F #297F1F
monochromatic
#10071D #2A134E #451F7F #602BB0 #7E46D2

Accessibility & contrast

On white

11.96
#451F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#451F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F7F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F7F#FFFFFF#000000##FFFFFF
##451F7F1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#35384D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #451f7f;
/* rgb */ color: rgb(69, 31, 127);
/* oklch */ color: oklch(35.3% 0.151 295.7);
Tailwind
colors: {
  custom: {
    50: '#7f5fa5',
    500: '#451f7f',
    950: '#000000',
  },
}
SCSS
$custom: #451f7f;
$custom-light: #7f5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#451f7f",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 263.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3532,
    "c": 0.15067,
    "h": 295.7
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#451F7F
secondary
#88B248
accent
#E444A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #451F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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