#412B7E#412B7E

#412B7E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.5% C 0.133 H 290.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#412B7E
RGBrgb(65, 43, 126)
HSLhsl(256, 49%, 33%)
HSVhsv(256, 66%, 49%)
CMYKcmyk(48.4%, 65.9%, 0%, 50.6%)
CIE-LABlab(24.82, 31.71, -43.72)
CIE-LCHlch(24.82, 54.01, 305.95°)
OKLaboklab(36.55% 0.0466 -0.1251)
OKLCHoklch(36.55% 0.133 290.4)
XYZxyz(6.8087, 4.3577, 20.2170)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B7E #687E2B
analogous
#2B3E7E #412B7E #6A2B7E
triadic
#412B7E #7E412B #2B7E41
tetradic
#412B7E #7E2B3E #687E2B #2B7E6A
square
#412B7E #7E2B3E #687E2B #2B7E6A
split-complementary
#412B7E #7E6A2B #3E7E2B
monochromatic
#120C23 #291B50 #412B7E #593BAC #785CC7

Accessibility & contrast

On white

11.22
#412B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B7E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B7E#FFFFFF#000000##FFFFFF
##412B7E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#2E3F50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412b7e;
/* rgb */ color: rgb(65, 43, 126);
/* oklch */ color: oklch(36.5% 0.133 290.4);
Tailwind
colors: {
  custom: {
    50: '#7b65a4',
    500: '#412b7e',
    950: '#000000',
  },
}
SCSS
$custom: #412b7e;
$custom-light: #7b65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#412b7e",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 255.904,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36547,
    "c": 0.13347,
    "h": 290.4
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#412B7E
secondary
#97AD58
accent
#D94FB4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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