#451F7B#451F7B

#451F7B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.146 H 297.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#451F7B
RGBrgb(69, 31, 123)
HSLhsl(265, 60%, 30%)
HSVhsv(265, 75%, 48%)
CMYKcmyk(43.9%, 74.8%, 0%, 51.8%)
CIE-LABlab(22.57, 38.43, -45.47)
CIE-LCHlch(22.57, 59.53, 310.20°)
OKLaboklab(34.96% 0.0663 -0.13)
OKLCHoklch(34.96% 0.146 297)
XYZxyz(6.5184, 3.6751, 19.1010)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F7B #557B1F
analogous
#1F277B #451F7B #731F7B
triadic
#451F7B #7B451F #1F7B45
tetradic
#451F7B #7B1F27 #557B1F #1F7B73
square
#451F7B #7B1F27 #557B1F #1F7B73
split-complementary
#451F7B #7B731F #277B1F
monochromatic
#0E0619 #2A134A #451F7B #602BAC #7E44D0

Accessibility & contrast

On white

12.10
#451F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#451F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F7B
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F7B#FFFFFF#000000##FFFFFF
##451F7B1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#37364B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451f7b;
/* rgb */ color: rgb(69, 31, 123);
/* oklch */ color: oklch(35.0% 0.146 297.0);
Tailwind
colors: {
  custom: {
    50: '#7e5ea2',
    500: '#451f7b',
    950: '#000000',
  },
}
SCSS
$custom: #451f7b;
$custom-light: #7e5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#451f7b",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 264.783,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3496,
    "c": 0.14593,
    "h": 297
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#451F7B
secondary
#84AE48
accent
#E345A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #451F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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