#412D64#412D64

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

Color values

HEX#412D64
RGBrgb(65, 45, 100)
HSLhsl(262, 38%, 28%)
HSVhsv(262, 55%, 39%)
CMYKcmyk(35%, 55%, 0%, 60.8%)
CIE-LABlab(23.41, 22.57, -29.33)
CIE-LCHlch(23.41, 37.01, 307.58°)
OKLaboklab(34.91% 0.0443 -0.0828)
OKLCHoklch(34.91% 0.094 298.2)
XYZxyz(5.4180, 3.9206, 12.5254)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D64 #50642D
analogous
#2D3464 #412D64 #5C2D64
triadic
#412D64 #64412D #2D6441
tetradic
#412D64 #642D34 #50642D #2D645C
square
#412D64 #642D34 #50642D #2D645C
split-complementary
#412D64 #645C2D #34642D
monochromatic
#0E0915 #261A3A #412D64 #5C408E #7958B4

Accessibility & contrast

On white

11.77
#412D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412D64
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D64#FFFFFF#000000##FFFFFF
##412D641.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193866
Deuteranopia (green-blind)
#1E3763
Tritanopia (blue-blind)
#393844
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412d64;
/* rgb */ color: rgb(65, 45, 100);
/* oklch */ color: oklch(34.9% 0.094 298.2);
Tailwind
colors: {
  custom: {
    50: '#786690',
    500: '#412d64',
    950: '#000000',
  },
}
SCSS
$custom: #412d64;
$custom-light: #786690;
$custom-dark: #000000;
JSON
{
  "hex": "#412d64",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 261.818,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.0939,
    "h": 298.2
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#412D64
secondary
#7F9657
accent
#CE5AA4
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #412D64

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

Preview Lab → · Contrast checker → · Palette generator →

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