#412B5E#412B5E

#412B5E is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.1% C 0.089 H 301.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#412B5E
RGBrgb(65, 43, 94)
HSLhsl(266, 37%, 27%)
HSVhsv(266, 54%, 37%)
CMYKcmyk(30.9%, 54.3%, 0%, 63.1%)
CIE-LABlab(22.51, 22.14, -26.82)
CIE-LCHlch(22.51, 34.78, 309.53°)
OKLaboklab(34.12% 0.0468 -0.0755)
OKLCHoklch(34.12% 0.089 301.8)
XYZxyz(5.0638, 3.6597, 11.0271)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B5E #485E2B
analogous
#2B2F5E #412B5E #5B2B5E
triadic
#412B5E #5E412B #2B5E41
tetradic
#412B5E #5E2B2F #485E2B #2B5E5B
square
#412B5E #5E2B2F #485E2B #2B5E5B
split-complementary
#412B5E #5E5B2B #2F5E2B
monochromatic
#0F0A15 #241834 #412B5E #5E3E88 #7B53B0

Accessibility & contrast

On white

12.12
#412B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412B5E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B5E#FFFFFF#000000##FFFFFF
##412B5E1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3560
Deuteranopia (green-blind)
#20365D
Tritanopia (blue-blind)
#3C3440
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412b5e;
/* rgb */ color: rgb(65, 43, 94);
/* oklch */ color: oklch(34.1% 0.089 301.8);
Tailwind
colors: {
  custom: {
    50: '#77658c',
    500: '#412b5e',
    950: '#000000',
  },
}
SCSS
$custom: #412b5e;
$custom-light: #77658c;
$custom-dark: #000000;
JSON
{
  "hex": "#412b5e",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 265.882,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34116,
    "c": 0.08879,
    "h": 301.8
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#412B5E
secondary
#769055
accent
#CD5B9C
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #412B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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