#451B7D#451B7D

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

Color values

HEX#451B7D
RGBrgb(69, 27, 125)
HSLhsl(266, 64%, 30%)
HSVhsv(266, 78%, 49%)
CMYKcmyk(44.8%, 78.4%, 0%, 51%)
CIE-LABlab(22.05, 40.95, -47.58)
CIE-LCHlch(22.05, 62.77, 310.72°)
OKLaboklab(34.65% 0.0696 -0.1362)
OKLCHoklch(34.65% 0.153 297.1)
XYZxyz(6.5469, 3.5296, 19.7344)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B7D #537D1B
analogous
#1B227D #451B7D #761B7D
triadic
#451B7D #7D451B #1B7D45
tetradic
#451B7D #7D1B22 #537D1B #1B7D76
square
#451B7D #7D1B22 #537D1B #1B7D76
split-complementary
#451B7D #7D761B #227D1B
monochromatic
#0E0519 #29104B #451B7D #6126AF #7E3DD5

Accessibility & contrast

On white

12.31
#451B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451B7D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B7D#FFFFFF#000000##FFFFFF
##451B7D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#36354B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451b7d;
/* rgb */ color: rgb(69, 27, 125);
/* oklch */ color: oklch(34.7% 0.153 297.1);
Tailwind
colors: {
  custom: {
    50: '#7f5ca3',
    500: '#451b7d',
    950: '#000000',
  },
}
SCSS
$custom: #451b7d;
$custom-light: #7f5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#451b7d",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 265.714,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34652,
    "c": 0.15295,
    "h": 297.1
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#451B7D
secondary
#82B143
accent
#E740A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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