#412C4E#412C4E

#412C4E is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.3% C 0.064 H 311.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#412C4E
RGBrgb(65, 44, 78)
HSLhsl(277, 28%, 24%)
HSVhsv(277, 44%, 31%)
CMYKcmyk(16.7%, 43.6%, 0%, 69.4%)
CIE-LABlab(21.85, 17.12, -17.23)
CIE-LCHlch(21.85, 24.29, 314.81°)
OKLaboklab(33.32% 0.0424 -0.0476)
OKLCHoklch(33.32% 0.064 311.7)
XYZxyz(4.4556, 3.4753, 7.6423)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C4E #394E2C
analogous
#302C4E #412C4E #4E2C4A
triadic
#412C4E #4E412C #2C4E41
tetradic
#412C4E #4E302C #394E2C #2C4A4E
square
#412C4E #4E302C #394E2C #2C4A4E
split-complementary
#412C4E #4A4E2C #2C4E30
monochromatic
#100B14 #201627 #412C4E #624275 #82589C

Accessibility & contrast

On white

12.39
#412C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#412C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C4E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C4E#FFFFFF#000000##FFFFFF
##412C4E1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334F
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#403139
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412c4e;
/* rgb */ color: rgb(65, 44, 78);
/* oklch */ color: oklch(33.3% 0.064 311.7);
Tailwind
colors: {
  custom: {
    50: '#76657f',
    500: '#412c4e',
    950: '#000000',
  },
}
SCSS
$custom: #412c4e;
$custom-light: #76657f;
$custom-dark: #000000;
JSON
{
  "hex": "#412c4e",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 277.059,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33323,
    "c": 0.06377,
    "h": 311.7
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#412C4E
secondary
#668056
accent
#C46489
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #412C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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