#412F71#412F71

#412F71 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.109 H 292.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#412F71
RGBrgb(65, 47, 113)
HSLhsl(256, 41%, 31%)
HSVhsv(256, 58%, 44%)
CMYKcmyk(42.5%, 58.4%, 0%, 55.7%)
CIE-LABlab(24.79, 25.19, -35.50)
CIE-LCHlch(24.79, 43.53, 305.35°)
OKLaboklab(36.22% 0.0422 -0.1009)
OKLCHoklch(36.22% 0.109 292.7)
XYZxyz(6.1763, 4.3489, 16.1336)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F71 #5F712F
analogous
#2F3E71 #412F71 #622F71
triadic
#412F71 #71412F #2F7141
tetradic
#412F71 #712F3E #5F712F #2F7162
square
#412F71 #712F3E #5F712F #2F7162
split-complementary
#412F71 #71622F #3E712F
monochromatic
#0F0B1B #281D46 #412F71 #5A419C #785EBC

Accessibility & contrast

On white

11.23
#412F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412F71
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F71#FFFFFF#000000##FFFFFF
##412F711.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C73
Deuteranopia (green-blind)
#123A70
Tritanopia (blue-blind)
#343D4B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412f71;
/* rgb */ color: rgb(65, 47, 113);
/* oklch */ color: oklch(36.2% 0.109 292.7);
Tailwind
colors: {
  custom: {
    50: '#79689a',
    500: '#412f71',
    950: '#000000',
  },
}
SCSS
$custom: #412f71;
$custom-light: #79689a;
$custom-dark: #000000;
JSON
{
  "hex": "#412f71",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 256.364,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36215,
    "c": 0.10935,
    "h": 292.7
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#412F71
secondary
#8EA25A
accent
#D157B0
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412F71

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

Preview Lab → · Contrast checker → · Palette generator →

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