#412F83#412F83

#412F83 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.135 H 288.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#412F83
RGBrgb(65, 47, 131)
HSLhsl(253, 47%, 35%)
HSVhsv(253, 64%, 51%)
CMYKcmyk(50.4%, 64.1%, 0%, 48.6%)
CIE-LABlab(26.14, 30.81, -44.72)
CIE-LCHlch(26.14, 54.30, 304.56°)
OKLaboklab(37.63% 0.0416 -0.128)
OKLCHoklch(37.63% 0.135 288)
XYZxyz(7.2920, 4.7952, 22.0097)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F83 #71832F
analogous
#2F4783 #412F83 #6B2F83
triadic
#412F83 #83412F #2F8341
tetradic
#412F83 #832F47 #71832F #2F836B
square
#412F83 #832F47 #71832F #2F836B
split-complementary
#412F83 #836B2F #47832F
monochromatic
#140F29 #2B1F56 #412F83 #573FB0 #7A65C8

Accessibility & contrast

On white

10.72
#412F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#412F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F83
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F83#FFFFFF#000000##FFFFFF
##412F831.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#2A4354
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412f83;
/* rgb */ color: rgb(65, 47, 131);
/* oklch */ color: oklch(37.6% 0.135 288.0);
Tailwind
colors: {
  custom: {
    50: '#7c68a8',
    500: '#412f83',
    950: '#000000',
  },
}
SCSS
$custom: #412f83;
$custom-light: #7c68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412f83",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 252.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37634,
    "c": 0.13459,
    "h": 288
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#412F83
secondary
#9EAF5F
accent
#D751BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412F83

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

Preview Lab → · Contrast checker → · Palette generator →

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