#451A7F#451A7F

#451A7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.156 H 296.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#451A7F
RGBrgb(69, 26, 127)
HSLhsl(266, 66%, 30%)
HSVhsv(266, 80%, 50%)
CMYKcmyk(45.7%, 79.5%, 0%, 50.2%)
CIE-LABlab(22.07, 41.95, -48.81)
CIE-LCHlch(22.07, 64.36, 310.68°)
OKLaboklab(34.73% 0.0699 -0.1398)
OKLCHoklch(34.73% 0.156 296.6)
XYZxyz(6.6534, 3.5362, 20.4066)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451A7F #547F1A
analogous
#1A217F #451A7F #781A7F
triadic
#451A7F #7F451A #1A7F45
tetradic
#451A7F #7F1A21 #547F1A #1A7F78
square
#451A7F #7F1A21 #547F1A #1A7F78
split-complementary
#451A7F #7F781A #217F1A
monochromatic
#0E0519 #29104C #451A7F #6124B2 #7E3CD7

Accessibility & contrast

On white

12.30
#451A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451A7F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451A7F#FFFFFF#000000##FFFFFF
##451A7F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#35364C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451a7f;
/* rgb */ color: rgb(69, 26, 127);
/* oklch */ color: oklch(34.7% 0.156 296.6);
Tailwind
colors: {
  custom: {
    50: '#7f5ca5',
    500: '#451a7f',
    950: '#000000',
  },
}
SCSS
$custom: #451a7f;
$custom-light: #7f5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#451a7f",
  "rgb": {
    "r": 69,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 265.545,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.34725,
    "c": 0.15631,
    "h": 296.6
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#451A7F
secondary
#83B342
accent
#E93FA1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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