#412B65#412B65

#412B65 is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.6% C 0.099 H 298.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#412B65
RGBrgb(65, 43, 101)
HSLhsl(263, 40%, 28%)
HSVhsv(263, 57%, 40%)
CMYKcmyk(35.6%, 57.4%, 0%, 60.4%)
CIE-LABlab(22.97, 24.16, -30.68)
CIE-LCHlch(22.97, 39.05, 308.22°)
OKLaboklab(34.6% 0.0473 -0.0867)
OKLCHoklch(34.6% 0.099 298.6)
XYZxyz(5.3922, 3.7911, 12.7571)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B65 #4F652B
analogous
#2B3265 #412B65 #5E2B65
triadic
#412B65 #65412B #2B6541
tetradic
#412B65 #652B32 #4F652B #2B655E
square
#412B65 #652B32 #4F652B #2B655E
split-complementary
#412B65 #655E2B #32652B
monochromatic
#0E0915 #25193A #412B65 #5D3D90 #7954B6

Accessibility & contrast

On white

11.94
#412B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B65
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B65#FFFFFF#000000##FFFFFF
##412B651.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143767
Deuteranopia (green-blind)
#1A3664
Tritanopia (blue-blind)
#393743
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412b65;
/* rgb */ color: rgb(65, 43, 101);
/* oklch */ color: oklch(34.6% 0.099 298.6);
Tailwind
colors: {
  custom: {
    50: '#786591',
    500: '#412b65',
    950: '#000000',
  },
}
SCSS
$custom: #412b65;
$custom-light: #786591;
$custom-dark: #000000;
JSON
{
  "hex": "#412b65",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 262.759,
    "s": 40.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34601,
    "c": 0.09882,
    "h": 298.6
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#412B65
secondary
#7E9755
accent
#D058A2
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050D
muted
#7B7A7D

Preview Lab

Preview with #412B65

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

Preview Lab → · Contrast checker → · Palette generator →

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