#412B64#412B64

#412B64 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.5% C 0.097 H 299.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#412B64
RGBrgb(65, 43, 100)
HSLhsl(263, 40%, 28%)
HSVhsv(263, 57%, 39%)
CMYKcmyk(35%, 57%, 0%, 60.8%)
CIE-LABlab(22.90, 23.86, -30.13)
CIE-LCHlch(22.90, 38.44, 308.38°)
OKLaboklab(34.53% 0.0473 -0.0851)
OKLCHoklch(34.53% 0.097 299)
XYZxyz(5.3435, 3.7716, 12.5006)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B64 #4E642B
analogous
#2B3164 #412B64 #5D2B64
triadic
#412B64 #64412B #2B6441
tetradic
#412B64 #642B31 #4E642B #2B645D
square
#412B64 #642B31 #4E642B #2B645D
split-complementary
#412B64 #645D2B #31642B
monochromatic
#0E0915 #251939 #412B64 #5D3D8F #7A54B5

Accessibility & contrast

On white

11.97
#412B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#412B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B64
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B64#FFFFFF#000000##FFFFFF
##412B641.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153766
Deuteranopia (green-blind)
#1B3663
Tritanopia (blue-blind)
#3A3643
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412b64;
/* rgb */ color: rgb(65, 43, 100);
/* oklch */ color: oklch(34.5% 0.097 299.0);
Tailwind
colors: {
  custom: {
    50: '#786590',
    500: '#412b64',
    950: '#000000',
  },
}
SCSS
$custom: #412b64;
$custom-light: #786590;
$custom-dark: #000000;
JSON
{
  "hex": "#412b64",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 100
  },
  "hsl": {
    "h": 263.158,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.0974,
    "h": 299
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#412B64
secondary
#7D9655
accent
#D058A2
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #412B64

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

Preview Lab → · Contrast checker → · Palette generator →

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