#451F72#451F72

#451F72 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.135 H 300.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#451F72
RGBrgb(69, 31, 114)
HSLhsl(267, 57%, 28%)
HSVhsv(267, 73%, 45%)
CMYKcmyk(39.5%, 72.8%, 0%, 55.3%)
CIE-LABlab(21.80, 35.94, -40.96)
CIE-LCHlch(21.80, 54.49, 311.27°)
OKLaboklab(34.17% 0.0681 -0.1168)
OKLCHoklch(34.17% 0.135 300.2)
XYZxyz(5.9807, 3.4600, 16.2691)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F72 #4C721F
analogous
#1F2272 #451F72 #6E1F72
triadic
#451F72 #72451F #1F7245
tetradic
#451F72 #721F22 #4C721F #1F726E
square
#451F72 #721F22 #4C721F #1F726E
split-complementary
#451F72 #726E1F #22721F
monochromatic
#0F0718 #281242 #451F72 #622CA2 #8040CB

Accessibility & contrast

On white

12.41
#451F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#451F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F72
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F72#FFFFFF#000000##FFFFFF
##451F721.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#3B3346
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #451f72;
/* rgb */ color: rgb(69, 31, 114);
/* oklch */ color: oklch(34.2% 0.135 300.2);
Tailwind
colors: {
  custom: {
    50: '#7d5e9b',
    500: '#451f72',
    950: '#000000',
  },
}
SCSS
$custom: #451f72;
$custom-light: #7d5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#451f72",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 267.47,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34175,
    "c": 0.13515,
    "h": 300.2
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#451F72
secondary
#7AA647
accent
#E0479A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451F72

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

Preview Lab → · Contrast checker → · Palette generator →

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