#412F82#412F82

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

Color values

HEX#412F82
RGBrgb(65, 47, 130)
HSLhsl(253, 47%, 35%)
HSVhsv(253, 64%, 51%)
CMYKcmyk(50%, 63.8%, 0%, 49%)
CIE-LABlab(26.06, 30.49, -44.22)
CIE-LCHlch(26.06, 53.71, 304.59°)
OKLaboklab(37.55% 0.0417 -0.1265)
OKLCHoklch(37.55% 0.133 288.2)
XYZxyz(7.2246, 4.7682, 21.6545)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F82 #70822F
analogous
#2F4782 #412F82 #6B2F82
triadic
#412F82 #82412F #2F8241
tetradic
#412F82 #822F47 #70822F #2F826B
square
#412F82 #822F47 #70822F #2F826B
split-complementary
#412F82 #826B2F #47822F
monochromatic
#140E28 #2B1F55 #412F82 #573FAF #7A64C7

Accessibility & contrast

On white

10.75
#412F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#412F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F82
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F82#FFFFFF#000000##FFFFFF
##412F821.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#2B4254
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412f82;
/* rgb */ color: rgb(65, 47, 130);
/* oklch */ color: oklch(37.6% 0.133 288.2);
Tailwind
colors: {
  custom: {
    50: '#7b68a7',
    500: '#412f82',
    950: '#000000',
  },
}
SCSS
$custom: #412f82;
$custom-light: #7b68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#412f82",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 253.012,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37552,
    "c": 0.13322,
    "h": 288.2
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#412F82
secondary
#9DAE5F
accent
#D751BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412F82

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

Preview Lab → · Contrast checker → · Palette generator →

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