#412E4F#412E4F

#412E4F is a dark, moderate violet. Relative luminance 0.036; OKLCH L 33.8% C 0.061 H 309.9°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#412E4F
RGBrgb(65, 46, 79)
HSLhsl(275, 26%, 25%)
HSVhsv(275, 42%, 31%)
CMYKcmyk(17.7%, 41.8%, 0%, 69%)
CIE-LABlab(22.45, 16.05, -16.97)
CIE-LCHlch(22.45, 23.36, 313.39°)
OKLaboklab(33.79% 0.0392 -0.0469)
OKLCHoklch(33.79% 0.061 309.9)
XYZxyz(4.5680, 3.6424, 7.8580)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E4F #3C4F2E
analogous
#312E4F #412E4F #4F2E4D
triadic
#412E4F #4F412E #2E4F41
tetradic
#412E4F #4F312E #3C4F2E #2E4D4F
square
#412E4F #4F312E #3C4F2E #2E4D4F
split-complementary
#412E4F #4D4F2E #2E4F31
monochromatic
#100B13 #211728 #412E4F #614576 #815B9C

Accessibility & contrast

On white

12.15
#412E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#412E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E4F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E4F#FFFFFF#000000##FFFFFF
##412E4F1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283550
Deuteranopia (green-blind)
#2C364E
Tritanopia (blue-blind)
#3F333A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412e4f;
/* rgb */ color: rgb(65, 46, 79);
/* oklch */ color: oklch(33.8% 0.061 309.9);
Tailwind
colors: {
  custom: {
    50: '#766780',
    500: '#412e4f',
    950: '#000000',
  },
}
SCSS
$custom: #412e4f;
$custom-light: #766780;
$custom-dark: #000000;
JSON
{
  "hex": "#412e4f",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 274.545,
    "s": 26.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.06111,
    "h": 309.9
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#412E4F
secondary
#698058
accent
#C3658D
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #412E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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