#451771#451771

#451771 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.144 H 302.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#451771
RGBrgb(69, 23, 113)
HSLhsl(271, 66%, 27%)
HSVhsv(271, 80%, 44%)
CMYKcmyk(38.9%, 79.6%, 0%, 55.7%)
CIE-LABlab(20.32, 39.61, -42.72)
CIE-LCHlch(20.32, 58.25, 312.84°)
OKLaboklab(33.1% 0.0766 -0.1219)
OKLCHoklch(33.1% 0.144 302.1)
XYZxyz(5.7406, 3.0702, 15.9098)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451771 #437117
analogous
#181771 #451771 #711770
triadic
#451771 #714517 #177145
tetradic
#451771 #711817 #437117 #177071
square
#451771 #711817 #437117 #177071
split-complementary
#451771 #707117 #177118
monochromatic
#100519 #260D3E #451771 #6421A4 #832ED4

Accessibility & contrast

On white

13.01
#451771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#451771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451771
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451771#FFFFFF#000000##FFFFFF
##4517711.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#3C2E43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #451771;
/* rgb */ color: rgb(69, 23, 113);
/* oklch */ color: oklch(33.1% 0.144 302.1);
Tailwind
colors: {
  custom: {
    50: '#7e5a9b',
    500: '#451771',
    950: '#000000',
  },
}
SCSS
$custom: #451771;
$custom-light: #7e5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#451771",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 270.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33104,
    "c": 0.14394,
    "h": 302.1
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#451771
secondary
#71A73D
accent
#E93F92
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451771

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

Preview Lab → · Contrast checker → · Palette generator →

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