#412D74#412D74

#412D74 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.117 H 292.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#412D74
RGBrgb(65, 45, 116)
HSLhsl(257, 44%, 32%)
HSVhsv(257, 61%, 45%)
CMYKcmyk(44%, 61.2%, 0%, 54.5%)
CIE-LABlab(24.52, 27.38, -37.86)
CIE-LCHlch(24.52, 46.73, 305.88°)
OKLaboklab(36.08% 0.0448 -0.1078)
OKLCHoklch(36.08% 0.117 292.6)
XYZxyz(6.2699, 4.2614, 17.0118)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D74 #60742D
analogous
#2D3D74 #412D74 #652D74
triadic
#412D74 #74412D #2D7441
tetradic
#412D74 #742D3D #60742D #2D7465
square
#412D74 #742D3D #60742D #2D7465
split-complementary
#412D74 #74652D #3D742D
monochromatic
#100B1C #281C48 #412D74 #5A3EA0 #785CC0

Accessibility & contrast

On white

11.34
#412D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D74
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D74#FFFFFF#000000##FFFFFF
##412D741.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#073972
Tritanopia (blue-blind)
#333D4C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412d74;
/* rgb */ color: rgb(65, 45, 116);
/* oklch */ color: oklch(36.1% 0.117 292.6);
Tailwind
colors: {
  custom: {
    50: '#7a679c',
    500: '#412d74',
    950: '#000000',
  },
}
SCSS
$custom: #412d74;
$custom-light: #7a679c;
$custom-dark: #000000;
JSON
{
  "hex": "#412d74",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 256.901,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36081,
    "c": 0.11677,
    "h": 292.6
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#412D74
secondary
#8FA557
accent
#D454B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412D74

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

Preview Lab → · Contrast checker → · Palette generator →

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