#412E72#412E72

#412E72 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.112 H 292.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#412E72
RGBrgb(65, 46, 114)
HSLhsl(257, 43%, 31%)
HSVhsv(257, 60%, 45%)
CMYKcmyk(43%, 59.6%, 0%, 55.3%)
CIE-LABlab(24.62, 26.13, -36.43)
CIE-LCHlch(24.62, 44.83, 305.66°)
OKLaboklab(36.11% 0.0435 -0.1036)
OKLCHoklch(36.11% 0.112 292.8)
XYZxyz(6.1934, 4.2925, 16.4186)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E72 #5F722E
analogous
#2E3D72 #412E72 #632E72
triadic
#412E72 #72412E #2E7241
tetradic
#412E72 #722E3D #5F722E #2E7263
square
#412E72 #722E3D #5F722E #2E7263
split-complementary
#412E72 #72632E #3D722E
monochromatic
#0F0B1B #281C46 #412E72 #5A409E #785DBE

Accessibility & contrast

On white

11.30
#412E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E72
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E72#FFFFFF#000000##FFFFFF
##412E721.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B74
Deuteranopia (green-blind)
#0E3971
Tritanopia (blue-blind)
#343D4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412e72;
/* rgb */ color: rgb(65, 46, 114);
/* oklch */ color: oklch(36.1% 0.112 292.8);
Tailwind
colors: {
  custom: {
    50: '#79679b',
    500: '#412e72',
    950: '#000000',
  },
}
SCSS
$custom: #412e72;
$custom-light: #79679b;
$custom-dark: #000000;
JSON
{
  "hex": "#412e72",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 256.765,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36107,
    "c": 0.11238,
    "h": 292.8
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412E72

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

Preview Lab → · Contrast checker → · Palette generator →

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