#451271#451271

#451271 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.149 H 302.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#451271
RGBrgb(69, 18, 113)
HSLhsl(272, 73%, 26%)
HSVhsv(272, 84%, 44%)
CMYKcmyk(38.9%, 84.1%, 0%, 55.7%)
CIE-LABlab(19.60, 41.70, -43.90)
CIE-LCHlch(19.60, 60.55, 313.53°)
OKLaboklab(32.6% 0.081 -0.1253)
OKLCHoklch(32.6% 0.149 302.9)
XYZxyz(5.6505, 2.8901, 15.8797)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451271 #3E7112
analogous
#161271 #451271 #71126D
triadic
#451271 #714512 #127145
tetradic
#451271 #711612 #3E7112 #126D71
square
#451271 #711612 #3E7112 #126D71
split-complementary
#451271 #6D7112 #127116
monochromatic
#10041A #250A3C #451271 #651AA6 #8523DB

Accessibility & contrast

On white

13.31
#451271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#451271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451271
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451271#FFFFFF#000000##FFFFFF
##4512711.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#3C2C42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #451271;
/* rgb */ color: rgb(69, 18, 113);
/* oklch */ color: oklch(32.6% 0.149 302.9);
Tailwind
colors: {
  custom: {
    50: '#7e579b',
    500: '#451271',
    950: '#000000',
  },
}
SCSS
$custom: #451271;
$custom-light: #7e579b;
$custom-dark: #000000;
JSON
{
  "hex": "#451271",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 272.211,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32597,
    "c": 0.14921,
    "h": 302.9
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#451271
secondary
#6BA837
accent
#EF398D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #451271

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

Preview Lab → · Contrast checker → · Palette generator →

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