#451B72#451B72

#451B72 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.140 H 301.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#451B72
RGBrgb(69, 27, 114)
HSLhsl(269, 62%, 28%)
HSVhsv(269, 76%, 45%)
CMYKcmyk(39.5%, 76.3%, 0%, 55.3%)
CIE-LABlab(21.07, 37.99, -42.14)
CIE-LCHlch(21.07, 56.74, 312.03°)
OKLaboklab(33.66% 0.0724 -0.1202)
OKLCHoklch(33.66% 0.14 301)
XYZxyz(5.8827, 3.2639, 16.2364)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B72 #48721B
analogous
#1B1C72 #451B72 #711B72
triadic
#451B72 #72451B #1B7245
tetradic
#451B72 #721B1C #48721B #1B7271
square
#451B72 #721B1C #48721B #1B7271
split-complementary
#451B72 #72711B #1C721B
monochromatic
#0F0619 #270F41 #451B72 #6327A3 #8138D0

Accessibility & contrast

On white

12.71
#451B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451B72
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B72#FFFFFF#000000##FFFFFF
##451B721.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#3B3145
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #451b72;
/* rgb */ color: rgb(69, 27, 114);
/* oklch */ color: oklch(33.7% 0.140 301.0);
Tailwind
colors: {
  custom: {
    50: '#7d5c9b',
    500: '#451b72',
    950: '#000000',
  },
}
SCSS
$custom: #451b72;
$custom-light: #7d5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#451b72",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 268.966,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33658,
    "c": 0.14033,
    "h": 301
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#451B72
secondary
#76A742
accent
#E54397
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451B72

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

Preview Lab → · Contrast checker → · Palette generator →

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