#451B7C#451B7C

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

Color values

HEX#451B7C
RGBrgb(69, 27, 124)
HSLhsl(266, 64%, 30%)
HSVhsv(266, 78%, 49%)
CMYKcmyk(44.4%, 78.2%, 0%, 51.4%)
CIE-LABlab(21.96, 40.68, -47.09)
CIE-LCHlch(21.96, 62.23, 310.82°)
OKLaboklab(34.56% 0.0699 -0.1348)
OKLCHoklch(34.56% 0.152 297.4)
XYZxyz(6.4833, 3.5042, 19.3997)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B7C #527C1B
analogous
#1B227C #451B7C #751B7C
triadic
#451B7C #7C451B #1B7C45
tetradic
#451B7C #7C1B22 #527C1B #1B7C75
square
#451B7C #7C1B22 #527C1B #1B7C75
split-complementary
#451B7C #7C751B #227C1B
monochromatic
#0E0519 #29104A #451B7C #6126AE #7F3DD5

Accessibility & contrast

On white

12.35
#451B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451B7C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B7C#FFFFFF#000000##FFFFFF
##451B7C1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#37354A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451b7c;
/* rgb */ color: rgb(69, 27, 124);
/* oklch */ color: oklch(34.6% 0.152 297.4);
Tailwind
colors: {
  custom: {
    50: '#7f5ca3',
    500: '#451b7c',
    950: '#000000',
  },
}
SCSS
$custom: #451b7c;
$custom-light: #7f5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#451b7c",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 265.979,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34559,
    "c": 0.15181,
    "h": 297.4
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#451B7C
secondary
#81B043
accent
#E7419F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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