#412B7D#412B7D

#412B7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.132 H 290.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#412B7D
RGBrgb(65, 43, 125)
HSLhsl(256, 49%, 33%)
HSVhsv(256, 66%, 49%)
CMYKcmyk(48%, 65.6%, 0%, 51%)
CIE-LABlab(24.74, 31.40, -43.22)
CIE-LCHlch(24.74, 53.42, 306.00°)
OKLaboklab(36.46% 0.0467 -0.1236)
OKLCHoklch(36.46% 0.132 290.7)
XYZxyz(6.7445, 4.3320, 19.8789)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B7D #677D2B
analogous
#2B3E7D #412B7D #6A2B7D
triadic
#412B7D #7D412B #2B7D41
tetradic
#412B7D #7D2B3E #677D2B #2B7D6A
square
#412B7D #7D2B3E #677D2B #2B7D6A
split-complementary
#412B7D #7D6A2B #3E7D2B
monochromatic
#120C22 #291B4F #412B7D #593BAB #785CC7

Accessibility & contrast

On white

11.25
#412B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412B7D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B7D#FFFFFF#000000##FFFFFF
##412B7D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#2E3E50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412b7d;
/* rgb */ color: rgb(65, 43, 125);
/* oklch */ color: oklch(36.5% 0.132 290.7);
Tailwind
colors: {
  custom: {
    50: '#7b65a3',
    500: '#412b7d',
    950: '#000000',
  },
}
SCSS
$custom: #412b7d;
$custom-light: #7b65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#412b7d",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 256.098,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36463,
    "c": 0.13213,
    "h": 290.7
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#412B7D
secondary
#96AD57
accent
#D84FB4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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