#451B7A#451B7A

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

Color values

HEX#451B7A
RGBrgb(69, 27, 122)
HSLhsl(267, 64%, 29%)
HSVhsv(267, 78%, 48%)
CMYKcmyk(43.4%, 77.9%, 0%, 52.2%)
CIE-LABlab(21.78, 40.14, -46.12)
CIE-LCHlch(21.78, 61.14, 311.03°)
OKLaboklab(34.38% 0.0704 -0.1319)
OKLCHoklch(34.38% 0.15 298.1)
XYZxyz(6.3581, 3.4541, 18.7403)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B7A #507A1B
analogous
#1B217A #451B7A #751B7A
triadic
#451B7A #7A451B #1B7A45
tetradic
#451B7A #7A1B21 #507A1B #1B7A75
square
#451B7A #7A1B21 #507A1B #1B7A75
split-complementary
#451B7A #7A751B #217A1B
monochromatic
#0E0619 #291048 #451B7A #6126AC #7F3CD4

Accessibility & contrast

On white

12.42
#451B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451B7A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B7A#FFFFFF#000000##FFFFFF
##451B7A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#383449
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #451b7a;
/* rgb */ color: rgb(69, 27, 122);
/* oklch */ color: oklch(34.4% 0.150 298.1);
Tailwind
colors: {
  custom: {
    50: '#7e5ca1',
    500: '#451b7a',
    950: '#000000',
  },
}
SCSS
$custom: #451b7a;
$custom-light: #7e5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#451b7a",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 266.526,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.14953,
    "h": 298.1
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#451B7A
secondary
#7FAE43
accent
#E7419D
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #451B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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