#451971#451971

#451971 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.142 H 301.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#451971
RGBrgb(69, 25, 113)
HSLhsl(270, 64%, 27%)
HSVhsv(270, 78%, 44%)
CMYKcmyk(38.9%, 77.9%, 0%, 55.7%)
CIE-LABlab(20.65, 38.69, -42.19)
CIE-LCHlch(20.65, 57.24, 312.52°)
OKLaboklab(33.33% 0.0746 -0.1204)
OKLCHoklch(33.33% 0.142 301.8)
XYZxyz(5.7818, 3.1527, 15.9235)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451971 #457119
analogous
#191971 #451971 #711971
triadic
#451971 #714519 #197145
tetradic
#451971 #711919 #457119 #197171
square
#451971 #711919 #457119 #197171
split-complementary
#451971 #717119 #197119
monochromatic
#0F0619 #260E3F #451971 #6424A3 #8233D2

Accessibility & contrast

On white

12.88
#451971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#451971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451971
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451971#FFFFFF#000000##FFFFFF
##4519711.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#3B2F44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451971;
/* rgb */ color: rgb(69, 25, 113);
/* oklch */ color: oklch(33.3% 0.142 301.8);
Tailwind
colors: {
  custom: {
    50: '#7d5b9b',
    500: '#451971',
    950: '#000000',
  },
}
SCSS
$custom: #451971;
$custom-light: #7d5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#451971",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 270,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3333,
    "c": 0.14162,
    "h": 301.8
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#451971
secondary
#73A640
accent
#E74194
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451971

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

Preview Lab → · Contrast checker → · Palette generator →

#451971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva