#451C7B#451C7B

#451C7B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.150 H 297.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#451C7B
RGBrgb(69, 28, 123)
HSLhsl(266, 63%, 30%)
HSVhsv(266, 77%, 48%)
CMYKcmyk(43.9%, 77.2%, 0%, 51.8%)
CIE-LABlab(22.04, 39.92, -46.33)
CIE-LCHlch(22.04, 61.16, 310.75°)
OKLaboklab(34.59% 0.0692 -0.1325)
OKLCHoklch(34.59% 0.15 297.6)
XYZxyz(6.4437, 3.5257, 19.0761)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451C7B #527B1C
analogous
#1C227B #451C7B #751C7B
triadic
#451C7B #7B451C #1C7B45
tetradic
#451C7B #7B1C22 #527B1C #1C7B75
square
#451C7B #7B1C22 #527B1C #1C7B75
split-complementary
#451C7B #7B751C #227B1C
monochromatic
#0E0619 #291149 #451C7B #6127AD #7F3ED3

Accessibility & contrast

On white

12.32
#451C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#451C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451C7B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451C7B#FFFFFF#000000##FFFFFF
##451C7B1.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#37354A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451c7b;
/* rgb */ color: rgb(69, 28, 123);
/* oklch */ color: oklch(34.6% 0.150 297.6);
Tailwind
colors: {
  custom: {
    50: '#7e5da2',
    500: '#451c7b',
    950: '#000000',
  },
}
SCSS
$custom: #451c7b;
$custom-light: #7e5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#451c7b",
  "rgb": {
    "r": 69,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 265.895,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34586,
    "c": 0.14952,
    "h": 297.6
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#451C7B
secondary
#81AF44
accent
#E6429F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #451C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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