#451C7E#451C7E

#451C7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.153 H 296.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#451C7E
RGBrgb(69, 28, 126)
HSLhsl(265, 64%, 30%)
HSVhsv(265, 78%, 49%)
CMYKcmyk(45.2%, 77.8%, 0%, 50.6%)
CIE-LABlab(22.31, 40.74, -47.79)
CIE-LCHlch(22.31, 62.80, 310.45°)
OKLaboklab(34.86% 0.0684 -0.1368)
OKLCHoklch(34.86% 0.153 296.6)
XYZxyz(6.6344, 3.6019, 20.0803)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451C7E #557E1C
analogous
#1C247E #451C7E #761C7E
triadic
#451C7E #7E451C #1C7E45
tetradic
#451C7E #7E1C24 #557E1C #1C7E76
square
#451C7E #7E1C24 #557E1C #1C7E76
split-complementary
#451C7E #7E761C #247E1C
monochromatic
#0E061A #2A114C #451C7E #6027B0 #7E40D5

Accessibility & contrast

On white

12.21
#451C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#451C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451C7E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451C7E#FFFFFF#000000##FFFFFF
##451C7E1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#36364C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451c7e;
/* rgb */ color: rgb(69, 28, 126);
/* oklch */ color: oklch(34.9% 0.153 296.6);
Tailwind
colors: {
  custom: {
    50: '#7f5da4',
    500: '#451c7e',
    950: '#000000',
  },
}
SCSS
$custom: #451c7e;
$custom-light: #7f5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#451c7e",
  "rgb": {
    "r": 69,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 265.102,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34861,
    "c": 0.15298,
    "h": 296.6
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#451C7E
secondary
#84B244
accent
#E741A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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