#412E66#412E66

#412E66 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.2% C 0.095 H 296.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#412E66
RGBrgb(65, 46, 102)
HSLhsl(260, 38%, 29%)
HSVhsv(260, 55%, 40%)
CMYKcmyk(36.3%, 54.9%, 0%, 60%)
CIE-LABlab(23.79, 22.51, -30.01)
CIE-LCHlch(23.79, 37.51, 306.87°)
OKLaboklab(35.23% 0.043 -0.0848)
OKLCHoklch(35.23% 0.095 296.9)
XYZxyz(5.5546, 4.0370, 13.0544)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E66 #53662E
analogous
#2E3766 #412E66 #5D2E66
triadic
#412E66 #66412E #2E6641
tetradic
#412E66 #662E37 #53662E #2E665D
square
#412E66 #662E37 #53662E #2E665D
split-complementary
#412E66 #665D2E #37662E
monochromatic
#0D0A15 #261B3C #412E66 #5C4190 #795AB5

Accessibility & contrast

On white

11.62
#412E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#412E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E66
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E66#FFFFFF#000000##FFFFFF
##412E661.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#1E3865
Tritanopia (blue-blind)
#393945
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412e66;
/* rgb */ color: rgb(65, 46, 102);
/* oklch */ color: oklch(35.2% 0.095 296.9);
Tailwind
colors: {
  custom: {
    50: '#786792',
    500: '#412e66',
    950: '#000000',
  },
}
SCSS
$custom: #412e66;
$custom-light: #786792;
$custom-dark: #000000;
JSON
{
  "hex": "#412e66",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 260.357,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35234,
    "c": 0.09508,
    "h": 296.9
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#412E66
secondary
#829858
accent
#CE5AA7
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #412E66

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

Preview Lab → · Contrast checker → · Palette generator →

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