#412E8F#412E8F

#412E8F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.5% C 0.152 H 285.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#412E8F
RGBrgb(65, 46, 143)
HSLhsl(252, 51%, 37%)
HSVhsv(252, 68%, 56%)
CMYKcmyk(54.5%, 67.8%, 0%, 43.9%)
CIE-LABlab(26.91, 35.21, -50.94)
CIE-LCHlch(26.91, 61.93, 304.65°)
OKLaboklab(38.5% 0.0414 -0.1463)
OKLCHoklch(38.5% 0.152 285.8)
XYZxyz(8.1134, 5.0605, 26.5305)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E8F #7C8F2E
analogous
#2E4B8F #412E8F #722E8F
triadic
#412E8F #8F412E #2E8F41
tetradic
#412E8F #8F2E4B #7C8F2E #2E8F72
square
#412E8F #8F2E4B #7C8F2E #2E8F72
split-complementary
#412E8F #8F722E #4B8F2E
monochromatic
#171032 #2C1F61 #412E8F #563DBD #7D69CF

Accessibility & contrast

On white

10.44
#412E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#412E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E8F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E8F#FFFFFF#000000##FFFFFF
##412E8F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#21465A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412e8f;
/* rgb */ color: rgb(65, 46, 143);
/* oklch */ color: oklch(38.5% 0.152 285.8);
Tailwind
colors: {
  custom: {
    50: '#7e68b1',
    500: '#412e8f',
    950: '#000000',
  },
}
SCSS
$custom: #412e8f;
$custom-light: #7e68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412e8f",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 251.753,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38498,
    "c": 0.15204,
    "h": 285.8
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#412E8F
secondary
#A5B663
accent
#DB4DBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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