#411271#411271

#411271 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.148 H 300.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#411271
RGBrgb(65, 18, 113)
HSLhsl(270, 73%, 26%)
HSVhsv(270, 84%, 44%)
CMYKcmyk(42.5%, 84.1%, 0%, 55.7%)
CIE-LABlab(19.01, 41.04, -44.89)
CIE-LCHlch(19.01, 60.82, 312.43°)
OKLaboklab(32.06% 0.0746 -0.1284)
OKLCHoklch(32.06% 0.148 300.2)
XYZxyz(5.3762, 2.7486, 15.8669)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411271 #427112
analogous
#121371 #411271 #701271
triadic
#411271 #714112 #127141
tetradic
#411271 #711213 #427112 #127170
square
#411271 #711213 #427112 #127170
split-complementary
#411271 #717012 #137112
monochromatic
#0F041A #230A3C #411271 #5F1AA6 #7E23DB

Accessibility & contrast

On white

13.55
#411271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#411271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411271
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411271#FFFFFF#000000##FFFFFF
##4112711.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#362D42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #411271;
/* rgb */ color: rgb(65, 18, 113);
/* oklch */ color: oklch(32.1% 0.148 300.2);
Tailwind
colors: {
  custom: {
    50: '#7b579b',
    500: '#411271',
    950: '#000000',
  },
}
SCSS
$custom: #411271;
$custom-light: #7b579b;
$custom-dark: #000000;
JSON
{
  "hex": "#411271",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 269.684,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3206,
    "c": 0.14848,
    "h": 300.2
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#411271
secondary
#70A837
accent
#EF3995
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #411271

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

Preview Lab → · Contrast checker → · Palette generator →

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