#412F85#412F85

#412F85 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.8% C 0.137 H 287.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#412F85
RGBrgb(65, 47, 133)
HSLhsl(253, 48%, 35%)
HSVhsv(253, 65%, 52%)
CMYKcmyk(51.1%, 64.7%, 0%, 47.8%)
CIE-LABlab(26.30, 31.44, -45.71)
CIE-LCHlch(26.30, 55.48, 304.52°)
OKLaboklab(37.8% 0.0415 -0.1309)
OKLCHoklch(37.8% 0.137 287.6)
XYZxyz(7.4289, 4.8500, 22.7305)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F85 #73852F
analogous
#2F4885 #412F85 #6C2F85
triadic
#412F85 #85412F #2F8541
tetradic
#412F85 #852F48 #73852F #2F856C
square
#412F85 #852F48 #73852F #2F856C
split-complementary
#412F85 #856C2F #48852F
monochromatic
#150F2B #2B1F58 #412F85 #573FB2 #7A66C9

Accessibility & contrast

On white

10.66
#412F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#412F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F85
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F85#FFFFFF#000000##FFFFFF
##412F851.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#294355
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412f85;
/* rgb */ color: rgb(65, 47, 133);
/* oklch */ color: oklch(37.8% 0.137 287.6);
Tailwind
colors: {
  custom: {
    50: '#7c68a9',
    500: '#412f85',
    950: '#000000',
  },
}
SCSS
$custom: #412f85;
$custom-light: #7c68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412f85",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 252.558,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37801,
    "c": 0.13732,
    "h": 287.6
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#412F85
secondary
#9FB060
accent
#D750BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412F85

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

Preview Lab → · Contrast checker → · Palette generator →

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