#451A7C#451A7C

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

Color values

HEX#451A7C
RGBrgb(69, 26, 124)
HSLhsl(266, 65%, 29%)
HSVhsv(266, 79%, 49%)
CMYKcmyk(44.4%, 79%, 0%, 51.4%)
CIE-LABlab(21.80, 41.14, -47.36)
CIE-LCHlch(21.80, 62.74, 310.98°)
OKLaboklab(34.45% 0.0708 -0.1355)
OKLCHoklch(34.45% 0.153 297.6)
XYZxyz(6.4608, 3.4591, 19.3922)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451A7C #517C1A
analogous
#1A207C #451A7C #761A7C
triadic
#451A7C #7C451A #1A7C45
tetradic
#451A7C #7C1A20 #517C1A #1A7C76
square
#451A7C #7C1A20 #517C1A #1A7C76
split-complementary
#451A7C #7C761A #207C1A
monochromatic
#0E0519 #290F49 #451A7C #6125AF #7F3BD6

Accessibility & contrast

On white

12.41
#451A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451A7C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451A7C#FFFFFF#000000##FFFFFF
##451A7C1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#37344A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #451a7c;
/* rgb */ color: rgb(69, 26, 124);
/* oklch */ color: oklch(34.4% 0.153 297.6);
Tailwind
colors: {
  custom: {
    50: '#7f5ca3',
    500: '#451a7c',
    950: '#000000',
  },
}
SCSS
$custom: #451a7c;
$custom-light: #7f5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#451a7c",
  "rgb": {
    "r": 69,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 266.327,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34445,
    "c": 0.15292,
    "h": 297.6
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#451A7C
secondary
#80B042
accent
#E8409E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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