#412E85#412E85

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

Color values

HEX#412E85
RGBrgb(65, 46, 133)
HSLhsl(253, 49%, 35%)
HSVhsv(253, 65%, 52%)
CMYKcmyk(51.1%, 65.4%, 0%, 47.8%)
CIE-LABlab(26.07, 32.06, -46.08)
CIE-LCHlch(26.07, 56.14, 304.82°)
OKLaboklab(37.63% 0.0426 -0.132)
OKLCHoklch(37.63% 0.139 287.9)
XYZxyz(7.3894, 4.7709, 22.7173)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E85 #72852E
analogous
#2E4785 #412E85 #6C2E85
triadic
#412E85 #85412E #2E8541
tetradic
#412E85 #852E47 #72852E #2E856C
square
#412E85 #852E47 #72852E #2E856C
split-complementary
#412E85 #856C2E #47852E
monochromatic
#150F2A #2B1E58 #412E85 #573EB2 #7A64C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412E85#FFFFFF#000000##FFFFFF
##412E851.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)
#004088
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#294355
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412e85;
/* rgb */ color: rgb(65, 46, 133);
/* oklch */ color: oklch(37.6% 0.139 287.9);
Tailwind
colors: {
  custom: {
    50: '#7c68a9',
    500: '#412e85',
    950: '#000000',
  },
}
SCSS
$custom: #412e85;
$custom-light: #7c68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412e85",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 253.103,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37633,
    "c": 0.13871,
    "h": 287.9
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#412E85
secondary
#9EB05F
accent
#D850BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412E85

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

Preview Lab → · Contrast checker → · Palette generator →

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