#451F74#451F74

#451F74 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.138 H 299.5°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#451F74
RGBrgb(69, 31, 116)
HSLhsl(267, 58%, 29%)
HSVhsv(267, 73%, 45%)
CMYKcmyk(40.5%, 73.3%, 0%, 54.5%)
CIE-LABlab(21.97, 36.49, -41.97)
CIE-LCHlch(21.97, 55.62, 311.01°)
OKLaboklab(34.35% 0.0677 -0.1197)
OKLCHoklch(34.35% 0.138 299.5)
XYZxyz(6.0958, 3.5061, 16.8752)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F74 #4E741F
analogous
#1F2374 #451F74 #701F74
triadic
#451F74 #74451F #1F7445
tetradic
#451F74 #741F23 #4E741F #1F7470
square
#451F74 #741F23 #4E741F #1F7470
split-complementary
#451F74 #74701F #23741F
monochromatic
#0E0618 #281244 #451F74 #622CA4 #7F41CC

Accessibility & contrast

On white

12.34
#451F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#451F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F74
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F74#FFFFFF#000000##FFFFFF
##451F741.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#3A3447
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451f74;
/* rgb */ color: rgb(69, 31, 116);
/* oklch */ color: oklch(34.3% 0.138 299.5);
Tailwind
colors: {
  custom: {
    50: '#7d5e9d',
    500: '#451f74',
    950: '#000000',
  },
}
SCSS
$custom: #451f74;
$custom-light: #7d5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#451f74",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 266.824,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.13756,
    "h": 299.5
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#451F74
secondary
#7DA847
accent
#E1479C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451F74

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

Preview Lab → · Contrast checker → · Palette generator →

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