#412A7D#412A7D

#412A7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.3% C 0.134 H 291.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#412A7D
RGBrgb(65, 42, 125)
HSLhsl(257, 50%, 33%)
HSVhsv(257, 66%, 49%)
CMYKcmyk(48%, 66.4%, 0%, 51%)
CIE-LABlab(24.51, 32.01, -43.59)
CIE-LCHlch(24.51, 54.07, 306.29°)
OKLaboklab(36.3% 0.0479 -0.1247)
OKLCHoklch(36.3% 0.134 291)
XYZxyz(6.7086, 4.2602, 19.8669)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A7D #667D2A
analogous
#2A3C7D #412A7D #6B2A7D
triadic
#412A7D #7D412A #2A7D41
tetradic
#412A7D #7D2A3C #667D2A #2A7D6B
square
#412A7D #7D2A3C #667D2A #2A7D6B
split-complementary
#412A7D #7D6B2A #3C7D2A
monochromatic
#110B21 #291B4F #412A7D #5939AB #785AC8

Accessibility & contrast

On white

11.34
#412A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412A7D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A7D#FFFFFF#000000##FFFFFF
##412A7D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#2F3E4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412a7d;
/* rgb */ color: rgb(65, 42, 125);
/* oklch */ color: oklch(36.3% 0.134 291.0);
Tailwind
colors: {
  custom: {
    50: '#7b65a3',
    500: '#412a7d',
    950: '#000000',
  },
}
SCSS
$custom: #412a7d;
$custom-light: #7b65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#412a7d",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 256.627,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.13355,
    "h": 291
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#412A7D
secondary
#95AD56
accent
#D94FB3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #412A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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