#412B75#412B75

#412B75 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.121 H 293.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#412B75
RGBrgb(65, 43, 117)
HSLhsl(258, 46%, 31%)
HSVhsv(258, 63%, 46%)
CMYKcmyk(44.4%, 63.2%, 0%, 54.1%)
CIE-LABlab(24.12, 28.94, -39.15)
CIE-LCHlch(24.12, 48.69, 306.48°)
OKLaboklab(35.81% 0.0473 -0.1116)
OKLCHoklch(35.81% 0.121 293)
XYZxyz(6.2539, 4.1358, 17.2949)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B75 #5F752B
analogous
#2B3A75 #412B75 #662B75
triadic
#412B75 #75412B #2B7541
tetradic
#412B75 #752B3A #5F752B #2B7566
square
#412B75 #752B3A #5F752B #2B7566
split-complementary
#412B75 #75662B #3A752B
monochromatic
#0F0A1B #281B48 #412B75 #5A3BA2 #7859C2

Accessibility & contrast

On white

11.49
#412B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B75
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B75#FFFFFF#000000##FFFFFF
##412B751.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#333C4B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412b75;
/* rgb */ color: rgb(65, 43, 117);
/* oklch */ color: oklch(35.8% 0.121 293.0);
Tailwind
colors: {
  custom: {
    50: '#7a659d',
    500: '#412b75',
    950: '#000000',
  },
}
SCSS
$custom: #412b75;
$custom-light: #7a659d;
$custom-dark: #000000;
JSON
{
  "hex": "#412b75",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 257.838,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35811,
    "c": 0.12124,
    "h": 293
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#412B75
secondary
#8EA755
accent
#D652AF
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412B75

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

Preview Lab → · Contrast checker → · Palette generator →

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