#451F7A#451F7A

#451F7A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.145 H 297.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#451F7A
RGBrgb(69, 31, 122)
HSLhsl(265, 59%, 30%)
HSVhsv(265, 75%, 48%)
CMYKcmyk(43.4%, 74.6%, 0%, 52.2%)
CIE-LABlab(22.48, 38.15, -44.97)
CIE-LCHlch(22.48, 58.97, 310.31°)
OKLaboklab(34.87% 0.0665 -0.1286)
OKLCHoklch(34.87% 0.145 297.3)
XYZxyz(6.4562, 3.6502, 18.7730)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F7A #547A1F
analogous
#1F267A #451F7A #731F7A
triadic
#451F7A #7A451F #1F7A45
tetradic
#451F7A #7A1F26 #547A1F #1F7A73
square
#451F7A #7A1F26 #547A1F #1F7A73
split-complementary
#451F7A #7A731F #267A1F
monochromatic
#0E0618 #291349 #451F7A #612BAB #7E44CF

Accessibility & contrast

On white

12.14
#451F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#451F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F7A
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F7A#FFFFFF#000000##FFFFFF
##451F7A1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#38364A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451f7a;
/* rgb */ color: rgb(69, 31, 122);
/* oklch */ color: oklch(34.9% 0.145 297.3);
Tailwind
colors: {
  custom: {
    50: '#7e5ea1',
    500: '#451f7a',
    950: '#000000',
  },
}
SCSS
$custom: #451f7a;
$custom-light: #7e5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#451f7a",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 265.055,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.34871,
    "c": 0.14474,
    "h": 297.3
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#451F7A
secondary
#83AD47
accent
#E345A1
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #451F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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