#412256#412256

#412256 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.094 H 309.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#412256
RGBrgb(65, 34, 86)
HSLhsl(276, 43%, 24%)
HSVhsv(276, 60%, 34%)
CMYKcmyk(24.4%, 60.5%, 0%, 66.3%)
CIE-LABlab(19.80, 25.64, -25.83)
CIE-LCHlch(19.80, 36.40, 314.79°)
OKLaboklab(31.95% 0.06 -0.0725)
OKLCHoklch(31.95% 0.094 309.6)
XYZxyz(4.4314, 2.9398, 9.1363)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412256 #375622
analogous
#272256 #412256 #562251
triadic
#412256 #564122 #225641
tetradic
#412256 #562722 #375622 #225156
square
#412256 #562722 #375622 #225156
split-complementary
#412256 #515622 #225627
monochromatic
#110916 #20112A #412256 #623382 #8345AE

Accessibility & contrast

On white

13.22
#412256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#412256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412256
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412256#FFFFFF#000000##FFFFFF
##4122561.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E58
Deuteranopia (green-blind)
#1D3055
Tritanopia (blue-blind)
#3E2B38
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412256;
/* rgb */ color: rgb(65, 34, 86);
/* oklch */ color: oklch(31.9% 0.094 309.6);
Tailwind
colors: {
  custom: {
    50: '#775e86',
    500: '#412256',
    950: '#000000',
  },
}
SCSS
$custom: #412256;
$custom-light: #775e86;
$custom-dark: #000000;
JSON
{
  "hex": "#412256",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 275.769,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31946,
    "c": 0.09414,
    "h": 309.6
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#412256
secondary
#648A4A
accent
#D35588
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412256

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

Preview Lab → · Contrast checker → · Palette generator →

#412256 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva