#411272#411272

#411272 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.150 H 299.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#411272
RGBrgb(65, 18, 114)
HSLhsl(269, 73%, 26%)
HSVhsv(269, 84%, 45%)
CMYKcmyk(43%, 84.2%, 0%, 55.3%)
CIE-LABlab(19.10, 41.30, -45.38)
CIE-LCHlch(19.10, 61.35, 312.30°)
OKLaboklab(32.16% 0.0743 -0.1298)
OKLCHoklch(32.16% 0.15 299.8)
XYZxyz(5.4328, 2.7713, 16.1650)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411272 #437212
analogous
#121372 #411272 #711272
triadic
#411272 #724112 #127241
tetradic
#411272 #721213 #437212 #127271
square
#411272 #721213 #437212 #127271
split-complementary
#411272 #727112 #137212
monochromatic
#0F041A #230A3D #411272 #5F1AA7 #7D23DC

Accessibility & contrast

On white

13.51
#411272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411272
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411272#FFFFFF#000000##FFFFFF
##4112721.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#352D43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #411272;
/* rgb */ color: rgb(65, 18, 114);
/* oklch */ color: oklch(32.2% 0.150 299.8);
Tailwind
colors: {
  custom: {
    50: '#7b579b',
    500: '#411272',
    950: '#000000',
  },
}
SCSS
$custom: #411272;
$custom-light: #7b579b;
$custom-dark: #000000;
JSON
{
  "hex": "#411272",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 269.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32156,
    "c": 0.14954,
    "h": 299.8
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#411272
secondary
#71A937
accent
#EF3896
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #411272

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

Preview Lab → · Contrast checker → · Palette generator →

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