#412D72#412D72

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

Color values

HEX#412D72
RGBrgb(65, 45, 114)
HSLhsl(257, 43%, 31%)
HSVhsv(257, 61%, 45%)
CMYKcmyk(43%, 60.5%, 0%, 55.3%)
CIE-LABlab(24.37, 26.77, -36.82)
CIE-LCHlch(24.37, 45.52, 306.02°)
OKLaboklab(35.93% 0.0448 -0.1048)
OKLCHoklch(35.93% 0.114 293.2)
XYZxyz(6.1548, 4.2153, 16.4057)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D72 #5E722D
analogous
#2D3B72 #412D72 #632D72
triadic
#412D72 #72412D #2D7241
tetradic
#412D72 #722D3B #5E722D #2D7263
square
#412D72 #722D3B #5E722D #2D7263
split-complementary
#412D72 #72632D #3B722D
monochromatic
#0F0A1A #281C46 #412D72 #5A3E9E #785BBE

Accessibility & contrast

On white

11.39
#412D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412D72
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D72#FFFFFF#000000##FFFFFF
##412D721.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B74
Deuteranopia (green-blind)
#0C3970
Tritanopia (blue-blind)
#343C4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412d72;
/* rgb */ color: rgb(65, 45, 114);
/* oklch */ color: oklch(35.9% 0.114 293.2);
Tailwind
colors: {
  custom: {
    50: '#79679b',
    500: '#412d72',
    950: '#000000',
  },
}
SCSS
$custom: #412d72;
$custom-light: #79679b;
$custom-dark: #000000;
JSON
{
  "hex": "#412d72",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 257.391,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35927,
    "c": 0.11396,
    "h": 293.2
  },
  "luminance": 0.04215
}

Semantic roles & 50–950 ramp

primary
#412D72
secondary
#8DA357
accent
#D355AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412D72

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

Preview Lab → · Contrast checker → · Palette generator →

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