#412E71#412E71

#412E71 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.111 H 293.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#412E71
RGBrgb(65, 46, 113)
HSLhsl(257, 42%, 31%)
HSVhsv(257, 59%, 44%)
CMYKcmyk(42.5%, 59.3%, 0%, 55.7%)
CIE-LABlab(24.54, 25.83, -35.90)
CIE-LCHlch(24.54, 44.23, 305.73°)
OKLaboklab(36.03% 0.0435 -0.1021)
OKLCHoklch(36.03% 0.111 293.1)
XYZxyz(6.1368, 4.2699, 16.1204)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E71 #5E712E
analogous
#2E3C71 #412E71 #622E71
triadic
#412E71 #71412E #2E7141
tetradic
#412E71 #712E3C #5E712E #2E7162
square
#412E71 #712E3C #5E712E #2E7162
split-complementary
#412E71 #71622E #3C712E
monochromatic
#0F0B1A #281C46 #412E71 #5A409C #785DBD

Accessibility & contrast

On white

11.33
#412E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E71
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E71#FFFFFF#000000##FFFFFF
##412E711.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B73
Deuteranopia (green-blind)
#103970
Tritanopia (blue-blind)
#343C4A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412e71;
/* rgb */ color: rgb(65, 46, 113);
/* oklch */ color: oklch(36.0% 0.111 293.1);
Tailwind
colors: {
  custom: {
    50: '#79679a',
    500: '#412e71',
    950: '#000000',
  },
}
SCSS
$custom: #412e71;
$custom-light: #79679a;
$custom-dark: #000000;
JSON
{
  "hex": "#412e71",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 257.015,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36032,
    "c": 0.11095,
    "h": 293.1
  },
  "luminance": 0.0427
}

Semantic roles & 50–950 ramp

primary
#412E71
secondary
#8DA258
accent
#D256AF
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412E71

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

Preview Lab → · Contrast checker → · Palette generator →

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