#412C74#412C74

#412C74 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.9% C 0.118 H 292.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#412C74
RGBrgb(65, 44, 116)
HSLhsl(258, 45%, 31%)
HSVhsv(258, 62%, 45%)
CMYKcmyk(44%, 62.1%, 0%, 54.5%)
CIE-LABlab(24.28, 28.01, -38.25)
CIE-LCHlch(24.28, 47.41, 306.22°)
OKLaboklab(35.91% 0.0461 -0.109)
OKLCHoklch(35.91% 0.118 292.9)
XYZxyz(6.2322, 4.1860, 16.9992)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C74 #5F742C
analogous
#2C3B74 #412C74 #652C74
triadic
#412C74 #74412C #2C7441
tetradic
#412C74 #742C3B #5F742C #2C7465
square
#412C74 #742C3B #5F742C #2C7465
split-complementary
#412C74 #74652C #3B742C
monochromatic
#0F0A1B #281B48 #412C74 #5A3DA0 #785AC0

Accessibility & contrast

On white

11.43
#412C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C74
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C74#FFFFFF#000000##FFFFFF
##412C741.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412c74;
/* rgb */ color: rgb(65, 44, 116);
/* oklch */ color: oklch(35.9% 0.118 292.9);
Tailwind
colors: {
  custom: {
    50: '#7a669d',
    500: '#412c74',
    950: '#000000',
  },
}
SCSS
$custom: #412c74;
$custom-light: #7a669d;
$custom-dark: #000000;
JSON
{
  "hex": "#412c74",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 257.5,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35905,
    "c": 0.11833,
    "h": 292.9
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#412C74
secondary
#8EA656
accent
#D553AF
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412C74

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

Preview Lab → · Contrast checker → · Palette generator →

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