#451B71#451B71

#451B71 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.139 H 301.4°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#451B71
RGBrgb(69, 27, 113)
HSLhsl(269, 61%, 27%)
HSVhsv(269, 76%, 44%)
CMYKcmyk(38.9%, 76.1%, 0%, 55.7%)
CIE-LABlab(20.99, 37.72, -41.64)
CIE-LCHlch(20.99, 56.18, 312.18°)
OKLaboklab(33.57% 0.0726 -0.1187)
OKLCHoklch(33.57% 0.139 301.4)
XYZxyz(5.8261, 3.2413, 15.9383)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B71 #47711B
analogous
#1B1C71 #451B71 #701B71
triadic
#451B71 #71451B #1B7145
tetradic
#451B71 #711B1C #47711B #1B7170
square
#451B71 #711B1C #47711B #1B7170
split-complementary
#451B71 #71701B #1C711B
monochromatic
#0F0619 #270F40 #451B71 #6327A2 #8137CF

Accessibility & contrast

On white

12.74
#451B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#451B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B71
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B71#FFFFFF#000000##FFFFFF
##451B711.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#3B3044
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451b71;
/* rgb */ color: rgb(69, 27, 113);
/* oklch */ color: oklch(33.6% 0.139 301.4);
Tailwind
colors: {
  custom: {
    50: '#7d5c9a',
    500: '#451b71',
    950: '#000000',
  },
}
SCSS
$custom: #451b71;
$custom-light: #7d5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#451b71",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 269.302,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3357,
    "c": 0.13917,
    "h": 301.4
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#451B71
secondary
#75A642
accent
#E54396
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451B71

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

Preview Lab → · Contrast checker → · Palette generator →

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