#412B4E#412B4E

#412B4E is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.1% C 0.066 H 312.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#412B4E
RGBrgb(65, 43, 78)
HSLhsl(278, 29%, 24%)
HSVhsv(278, 45%, 31%)
CMYKcmyk(16.7%, 44.9%, 0%, 69.4%)
CIE-LABlab(21.59, 17.78, -17.65)
CIE-LCHlch(21.59, 25.05, 315.21°)
OKLaboklab(33.12% 0.0441 -0.0488)
OKLCHoklch(33.12% 0.066 312.1)
XYZxyz(4.4188, 3.4017, 7.6301)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B4E #384E2B
analogous
#2F2B4E #412B4E #4E2B49
triadic
#412B4E #4E412B #2B4E41
tetradic
#412B4E #4E2F2B #384E2B #2B494E
square
#412B4E #4E2F2B #384E2B #2B494E
split-complementary
#412B4E #494E2B #2B4E2F
monochromatic
#100B14 #201527 #412B4E #624175 #83569D

Accessibility & contrast

On white

12.50
#412B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#412B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B4E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B4E#FFFFFF#000000##FFFFFF
##412B4E1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24334F
Deuteranopia (green-blind)
#2A344D
Tritanopia (blue-blind)
#403038
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412b4e;
/* rgb */ color: rgb(65, 43, 78);
/* oklch */ color: oklch(33.1% 0.066 312.1);
Tailwind
colors: {
  custom: {
    50: '#76657f',
    500: '#412b4e',
    950: '#000000',
  },
}
SCSS
$custom: #412b4e;
$custom-light: #76657f;
$custom-dark: #000000;
JSON
{
  "hex": "#412b4e",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 277.714,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3312,
    "c": 0.06582,
    "h": 312.1
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#412B4E
secondary
#658055
accent
#C56387
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #412B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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