#451772#451772

#451772 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.145 H 301.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#451772
RGBrgb(69, 23, 114)
HSLhsl(270, 66%, 27%)
HSVhsv(270, 80%, 45%)
CMYKcmyk(39.5%, 79.8%, 0%, 55.3%)
CIE-LABlab(20.41, 39.87, -43.22)
CIE-LCHlch(20.41, 58.80, 312.69°)
OKLaboklab(33.19% 0.0763 -0.1233)
OKLCHoklch(33.19% 0.145 301.7)
XYZxyz(5.7972, 3.0929, 16.2079)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451772 #447217
analogous
#181772 #451772 #721772
triadic
#451772 #724517 #177245
tetradic
#451772 #721817 #447217 #177272
square
#451772 #721817 #447217 #177272
split-complementary
#451772 #727217 #177218
monochromatic
#0F0519 #260D3F #451772 #6421A5 #832ED5

Accessibility & contrast

On white

12.97
#451772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#451772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451772
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451772#FFFFFF#000000##FFFFFF
##4517721.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#3B2F44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #451772;
/* rgb */ color: rgb(69, 23, 114);
/* oklch */ color: oklch(33.2% 0.145 301.7);
Tailwind
colors: {
  custom: {
    50: '#7e5a9b',
    500: '#451772',
    950: '#000000',
  },
}
SCSS
$custom: #451772;
$custom-light: #7e5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#451772",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 270.33,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33194,
    "c": 0.14505,
    "h": 301.7
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#451772
secondary
#72A83D
accent
#E93E93
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451772

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

Preview Lab → · Contrast checker → · Palette generator →

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