#412F72#412F72

#412F72 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.3% C 0.111 H 292.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#412F72
RGBrgb(65, 47, 114)
HSLhsl(256, 42%, 32%)
HSVhsv(256, 59%, 45%)
CMYKcmyk(43%, 58.8%, 0%, 55.3%)
CIE-LABlab(24.86, 25.49, -36.03)
CIE-LCHlch(24.86, 44.13, 305.28°)
OKLaboklab(36.29% 0.0422 -0.1024)
OKLCHoklch(36.29% 0.111 292.4)
XYZxyz(6.2329, 4.3716, 16.4317)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F72 #60722F
analogous
#2F3F72 #412F72 #632F72
triadic
#412F72 #72412F #2F7241
tetradic
#412F72 #722F3F #60722F #2F7263
square
#412F72 #722F3F #60722F #2F7263
split-complementary
#412F72 #72632F #3F722F
monochromatic
#100B1B #281D47 #412F72 #5A419D #785FBD

Accessibility & contrast

On white

11.20
#412F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F72
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F72#FFFFFF#000000##FFFFFF
##412F721.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C74
Deuteranopia (green-blind)
#113A71
Tritanopia (blue-blind)
#343D4B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412f72;
/* rgb */ color: rgb(65, 47, 114);
/* oklch */ color: oklch(36.3% 0.111 292.4);
Tailwind
colors: {
  custom: {
    50: '#79689b',
    500: '#412f72',
    950: '#000000',
  },
}
SCSS
$custom: #412f72;
$custom-light: #79689b;
$custom-dark: #000000;
JSON
{
  "hex": "#412f72",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 256.119,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3629,
    "c": 0.11078,
    "h": 292.4
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#412F72
secondary
#8FA35A
accent
#D156B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412F72

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

Preview Lab → · Contrast checker → · Palette generator →

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