#451A7E#451A7E

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

Color values

HEX#451A7E
RGBrgb(69, 26, 126)
HSLhsl(266, 66%, 30%)
HSVhsv(266, 79%, 49%)
CMYKcmyk(45.2%, 79.4%, 0%, 50.6%)
CIE-LABlab(21.98, 41.68, -48.33)
CIE-LCHlch(21.98, 63.82, 310.78°)
OKLaboklab(34.63% 0.0702 -0.1384)
OKLCHoklch(34.63% 0.155 296.9)
XYZxyz(6.5885, 3.5102, 20.0650)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451A7E #537E1A
analogous
#1A217E #451A7E #771A7E
triadic
#451A7E #7E451A #1A7E45
tetradic
#451A7E #7E1A21 #537E1A #1A7E77
square
#451A7E #7E1A21 #537E1A #1A7E77
split-complementary
#451A7E #7E771A #217E1A
monochromatic
#0E0519 #29104B #451A7E #6124B1 #7E3CD7

Accessibility & contrast

On white

12.34
#451A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#451A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451A7E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451A7E#FFFFFF#000000##FFFFFF
##451A7E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#36354B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451a7e;
/* rgb */ color: rgb(69, 26, 126);
/* oklch */ color: oklch(34.6% 0.155 296.9);
Tailwind
colors: {
  custom: {
    50: '#7f5ca4',
    500: '#451a7e',
    950: '#000000',
  },
}
SCSS
$custom: #451a7e;
$custom-light: #7f5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#451a7e",
  "rgb": {
    "r": 69,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 265.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34631,
    "c": 0.15518,
    "h": 296.9
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#451A7E
secondary
#82B242
accent
#E93FA0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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