#412B72#412B72

#412B72 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.6% C 0.117 H 293.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#412B72
RGBrgb(65, 43, 114)
HSLhsl(259, 45%, 31%)
HSVhsv(259, 62%, 45%)
CMYKcmyk(43%, 62.3%, 0%, 55.3%)
CIE-LABlab(23.89, 28.03, -37.60)
CIE-LCHlch(23.89, 46.90, 306.71°)
OKLaboklab(35.57% 0.0474 -0.1071)
OKLCHoklch(35.57% 0.117 293.9)
XYZxyz(6.0803, 4.0663, 16.3808)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B72 #5C722B
analogous
#2B3872 #412B72 #642B72
triadic
#412B72 #72412B #2B7241
tetradic
#412B72 #722B38 #5C722B #2B7264
square
#412B72 #722B38 #5C722B #2B7264
split-complementary
#412B72 #72642B #38722B
monochromatic
#0E0919 #281A46 #412B72 #5A3C9E #7858C0

Accessibility & contrast

On white

11.58
#412B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#412B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B72
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B72#FFFFFF#000000##FFFFFF
##412B721.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#063870
Tritanopia (blue-blind)
#343B4A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412b72;
/* rgb */ color: rgb(65, 43, 114);
/* oklch */ color: oklch(35.6% 0.117 293.9);
Tailwind
colors: {
  custom: {
    50: '#79659b',
    500: '#412b72',
    950: '#000000',
  },
}
SCSS
$custom: #412b72;
$custom-light: #79659b;
$custom-dark: #000000;
JSON
{
  "hex": "#412b72",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 258.592,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35574,
    "c": 0.1171,
    "h": 293.9
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#412B72
secondary
#8BA455
accent
#D553AD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412B72

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

Preview Lab → · Contrast checker → · Palette generator →

#412B72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva