#412C66#412C66

#412C66 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 34.9% C 0.099 H 297.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#412C66
RGBrgb(65, 44, 102)
HSLhsl(262, 40%, 29%)
HSVhsv(262, 57%, 40%)
CMYKcmyk(36.3%, 56.9%, 0%, 60%)
CIE-LABlab(23.29, 23.81, -30.82)
CIE-LCHlch(23.29, 38.94, 307.68°)
OKLaboklab(34.86% 0.0459 -0.0872)
OKLCHoklch(34.86% 0.099 297.8)
XYZxyz(5.4783, 3.8844, 13.0289)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C66 #51662C
analogous
#2C3466 #412C66 #5E2C66
triadic
#412C66 #66412C #2C6641
tetradic
#412C66 #662C34 #51662C #2C665E
square
#412C66 #662C34 #51662C #2C665E
split-complementary
#412C66 #665E2C #34662C
monochromatic
#0E0915 #261A3B #412C66 #5C3E91 #7956B6

Accessibility & contrast

On white

11.82
#412C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#412C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C66
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C66#FFFFFF#000000##FFFFFF
##412C661.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153868
Deuteranopia (green-blind)
#1B3765
Tritanopia (blue-blind)
#393844
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412c66;
/* rgb */ color: rgb(65, 44, 102);
/* oklch */ color: oklch(34.9% 0.099 297.8);
Tailwind
colors: {
  custom: {
    50: '#786692',
    500: '#412c66',
    950: '#000000',
  },
}
SCSS
$custom: #412c66;
$custom-light: #786692;
$custom-dark: #000000;
JSON
{
  "hex": "#412c66",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 261.724,
    "s": 39.726,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.09853,
    "h": 297.8
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#412C66
secondary
#809856
accent
#D058A4
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #412C66

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

Preview Lab → · Contrast checker → · Palette generator →

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