#451D7B#451D7B

#451D7B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.148 H 297.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#451D7B
RGBrgb(69, 29, 123)
HSLhsl(266, 62%, 30%)
HSVhsv(266, 76%, 48%)
CMYKcmyk(43.9%, 76.4%, 0%, 51.8%)
CIE-LABlab(22.21, 39.43, -46.05)
CIE-LCHlch(22.21, 60.63, 310.58°)
OKLaboklab(34.71% 0.0682 -0.1317)
OKLCHoklch(34.71% 0.148 297.4)
XYZxyz(6.4678, 3.5739, 19.0841)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451D7B #537B1D
analogous
#1D247B #451D7B #741D7B
triadic
#451D7B #7B451D #1D7B45
tetradic
#451D7B #7B1D24 #537B1D #1D7B74
square
#451D7B #7B1D24 #537B1D #1D7B74
split-complementary
#451D7B #7B741D #247B1D
monochromatic
#0E0619 #291149 #451D7B #6129AD #7E40D2

Accessibility & contrast

On white

12.25
#451D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451D7B
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451D7B#FFFFFF#000000##FFFFFF
##451D7B1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.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: #451d7b;
/* rgb */ color: rgb(69, 29, 123);
/* oklch */ color: oklch(34.7% 0.148 297.4);
Tailwind
colors: {
  custom: {
    50: '#7e5da2',
    500: '#451d7b',
    950: '#000000',
  },
}
SCSS
$custom: #451d7b;
$custom-light: #7e5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#451d7b",
  "rgb": {
    "r": 69,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 265.532,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34707,
    "c": 0.14835,
    "h": 297.4
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#451D7B
secondary
#82AF45
accent
#E543A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #451D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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