#412C65#412C65

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

Color values

HEX#412C65
RGBrgb(65, 44, 101)
HSLhsl(262, 39%, 28%)
HSVhsv(262, 56%, 40%)
CMYKcmyk(35.6%, 56.4%, 0%, 60.4%)
CIE-LABlab(23.22, 23.51, -30.28)
CIE-LCHlch(23.22, 38.33, 307.83°)
OKLaboklab(34.79% 0.0459 -0.0856)
OKLCHoklch(34.79% 0.097 298.2)
XYZxyz(5.4290, 3.8647, 12.7693)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C65 #50652C
analogous
#2C3365 #412C65 #5D2C65
triadic
#412C65 #65412C #2C6541
tetradic
#412C65 #652C33 #50652C #2C655D
square
#412C65 #652C33 #50652C #2C655D
split-complementary
#412C65 #655D2C #33652C
monochromatic
#0E0915 #26193A #412C65 #5C3F90 #7956B5

Accessibility & contrast

On white

11.84
#412C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#412C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C65
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C65#FFFFFF#000000##FFFFFF
##412C651.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163767
Deuteranopia (green-blind)
#1C3764
Tritanopia (blue-blind)
#393744
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412c65;
/* rgb */ color: rgb(65, 44, 101);
/* oklch */ color: oklch(34.8% 0.097 298.2);
Tailwind
colors: {
  custom: {
    50: '#786691',
    500: '#412c65',
    950: '#000000',
  },
}
SCSS
$custom: #412c65;
$custom-light: #786691;
$custom-dark: #000000;
JSON
{
  "hex": "#412c65",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 262.105,
    "s": 39.31,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34787,
    "c": 0.09709,
    "h": 298.2
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#412C65
secondary
#7F9756
accent
#CF59A4
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060D
muted
#7B7A7D

Preview Lab

Preview with #412C65

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

Preview Lab → · Contrast checker → · Palette generator →

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