#412F5C#412F5C

#412F5C is a dark, moderate violet. Relative luminance 0.039; OKLCH L 34.8% C 0.078 H 300.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#412F5C
RGBrgb(65, 47, 92)
HSLhsl(264, 32%, 27%)
HSVhsv(264, 49%, 36%)
CMYKcmyk(29.3%, 48.9%, 0%, 63.9%)
CIE-LABlab(23.44, 18.94, -24.04)
CIE-LCHlch(23.44, 30.61, 308.23°)
OKLaboklab(34.77% 0.0403 -0.0674)
OKLCHoklch(34.77% 0.078 300.9)
XYZxyz(5.1278, 3.9295, 10.6115)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F5C #4A5C2F
analogous
#2F345C #412F5C #582F5C
triadic
#412F5C #5C412F #2F5C41
tetradic
#412F5C #5C2F34 #4A5C2F #2F5C58
square
#412F5C #5C2F34 #4A5C2F #2F5C58
split-complementary
#412F5C #5C582F #345C2F
monochromatic
#0E0A14 #241A33 #412F5C #5E4485 #7B5AAB

Accessibility & contrast

On white

11.76
#412F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F5C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F5C#FFFFFF#000000##FFFFFF
##412F5C1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385E
Deuteranopia (green-blind)
#26385B
Tritanopia (blue-blind)
#3C3741
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412f5c;
/* rgb */ color: rgb(65, 47, 92);
/* oklch */ color: oklch(34.8% 0.078 300.9);
Tailwind
colors: {
  custom: {
    50: '#77688a',
    500: '#412f5c',
    950: '#000000',
  },
}
SCSS
$custom: #412f5c;
$custom-light: #77688a;
$custom-dark: #000000;
JSON
{
  "hex": "#412f5c",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 264,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34767,
    "c": 0.07847,
    "h": 300.9
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#412F5C
secondary
#798E59
accent
#C95F9E
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #412F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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