#451F7E#451F7E

#451F7E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.149 H 296.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#451F7E
RGBrgb(69, 31, 126)
HSLhsl(264, 61%, 31%)
HSVhsv(264, 75%, 49%)
CMYKcmyk(45.2%, 75.4%, 0%, 50.6%)
CIE-LABlab(22.83, 39.26, -46.94)
CIE-LCHlch(22.83, 61.19, 309.91°)
OKLaboklab(35.23% 0.0656 -0.1343)
OKLCHoklch(35.23% 0.149 296)
XYZxyz(6.7091, 3.7514, 20.1052)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F7E #587E1F
analogous
#1F287E #451F7E #741F7E
triadic
#451F7E #7E451F #1F7E45
tetradic
#451F7E #7E1F28 #587E1F #1F7E74
square
#451F7E #7E1F28 #587E1F #1F7E74
split-complementary
#451F7E #7E741F #287E1F
monochromatic
#0F071C #2A134D #451F7E #602BAF #7E46D1

Accessibility & contrast

On white

12.00
#451F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451F7E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F7E#FFFFFF#000000##FFFFFF
##451F7E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#36384C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451f7e;
/* rgb */ color: rgb(69, 31, 126);
/* oklch */ color: oklch(35.2% 0.149 296.0);
Tailwind
colors: {
  custom: {
    50: '#7f5ea4',
    500: '#451f7e',
    950: '#000000',
  },
}
SCSS
$custom: #451f7e;
$custom-light: #7f5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#451f7e",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 264,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3523,
    "c": 0.14948,
    "h": 296
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#451F7E
secondary
#87B148
accent
#E444A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #451F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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