#412C8F#412C8F

#412C8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.155 H 286.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#412C8F
RGBrgb(65, 44, 143)
HSLhsl(253, 53%, 37%)
HSVhsv(253, 69%, 56%)
CMYKcmyk(54.5%, 69.2%, 0%, 43.9%)
CIE-LABlab(26.47, 36.40, -51.65)
CIE-LCHlch(26.47, 63.19, 305.17°)
OKLaboklab(38.18% 0.0433 -0.1484)
OKLCHoklch(38.18% 0.155 286.3)
XYZxyz(8.0371, 4.9079, 26.5051)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C8F #7A8F2C
analogous
#2C498F #412C8F #732C8F
triadic
#412C8F #8F412C #2C8F41
tetradic
#412C8F #8F2C49 #7A8F2C #2C8F73
square
#412C8F #8F2C49 #7A8F2C #2C8F73
split-complementary
#412C8F #8F732C #498F2C
monochromatic
#160F31 #2C1E60 #412C8F #563ABE #7C66D0

Accessibility & contrast

On white

10.60
#412C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#412C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C8F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C8F#FFFFFF#000000##FFFFFF
##412C8F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#21455A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412c8f;
/* rgb */ color: rgb(65, 44, 143);
/* oklch */ color: oklch(38.2% 0.155 286.3);
Tailwind
colors: {
  custom: {
    50: '#7e67b1',
    500: '#412c8f',
    950: '#000000',
  },
}
SCSS
$custom: #412c8f;
$custom-light: #7e67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412c8f",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 252.727,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38184,
    "c": 0.15458,
    "h": 286.3
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#412C8F
secondary
#A4B661
accent
#DC4BBE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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