#412A6F#412A6F

#412A6F is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.2% C 0.115 H 295.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#412A6F
RGBrgb(65, 42, 111)
HSLhsl(260, 45%, 30%)
HSVhsv(260, 62%, 44%)
CMYKcmyk(41.4%, 62.2%, 0%, 56.5%)
CIE-LABlab(23.43, 27.75, -36.41)
CIE-LCHlch(23.43, 45.78, 307.32°)
OKLaboklab(35.17% 0.0488 -0.1036)
OKLCHoklch(35.17% 0.115 295.2)
XYZxyz(5.8764, 3.9273, 15.4843)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A6F #586F2A
analogous
#2A366F #412A6F #632A6F
triadic
#412A6F #6F412A #2A6F41
tetradic
#412A6F #6F2A36 #586F2A #2A6F63
square
#412A6F #6F2A36 #586F2A #2A6F63
split-complementary
#412A6F #6F632A #366F2A
monochromatic
#0D0816 #271943 #412A6F #5B3B9B #7855BF

Accessibility & contrast

On white

11.76
#412A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A6F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A6F#FFFFFF#000000##FFFFFF
##412A6F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#0A376D
Tritanopia (blue-blind)
#353948
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412a6f;
/* rgb */ color: rgb(65, 42, 111);
/* oklch */ color: oklch(35.2% 0.115 295.2);
Tailwind
colors: {
  custom: {
    50: '#796499',
    500: '#412a6f',
    950: '#000000',
  },
}
SCSS
$custom: #412a6f;
$custom-light: #796499;
$custom-dark: #000000;
JSON
{
  "hex": "#412a6f",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 260,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.35167,
    "c": 0.11451,
    "h": 295.2
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#412A6F
secondary
#87A154
accent
#D553AA
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #412A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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