#451572#451572

#451572 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.147 H 302.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#451572
RGBrgb(69, 21, 114)
HSLhsl(271, 69%, 26%)
HSVhsv(271, 82%, 45%)
CMYKcmyk(39.5%, 81.6%, 0%, 55.3%)
CIE-LABlab(20.11, 40.74, -43.71)
CIE-LCHlch(20.11, 59.75, 312.99°)
OKLaboklab(32.98% 0.0781 -0.1248)
OKLCHoklch(32.98% 0.147 302.1)
XYZxyz(5.7589, 3.0164, 16.1952)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451572 #427215
analogous
#171572 #451572 #721571
triadic
#451572 #724515 #157245
tetradic
#451572 #721715 #427215 #157172
square
#451572 #721715 #427215 #157172
split-complementary
#451572 #717215 #157217
monochromatic
#10051A #260B3E #451572 #641FA6 #842AD8

Accessibility & contrast

On white

13.10
#451572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#451572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451572
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451572#FFFFFF#000000##FFFFFF
##4515721.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#3B2E43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #451572;
/* rgb */ color: rgb(69, 21, 114);
/* oklch */ color: oklch(33.0% 0.147 302.1);
Tailwind
colors: {
  custom: {
    50: '#7e599b',
    500: '#451572',
    950: '#000000',
  },
}
SCSS
$custom: #451572;
$custom-light: #7e599b;
$custom-dark: #000000;
JSON
{
  "hex": "#451572",
  "rgb": {
    "r": 69,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 270.968,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32982,
    "c": 0.14723,
    "h": 302.1
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#451572
secondary
#70A83B
accent
#EC3C91
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451572

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

Preview Lab → · Contrast checker → · Palette generator →

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