#412456#412456

#412456 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.3% C 0.090 H 309.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#412456
RGBrgb(65, 36, 86)
HSLhsl(275, 41%, 24%)
HSVhsv(275, 58%, 34%)
CMYKcmyk(24.4%, 58.1%, 0%, 66.3%)
CIE-LABlab(20.27, 24.40, -25.08)
CIE-LCHlch(20.27, 34.99, 314.21°)
OKLaboklab(32.29% 0.0569 -0.0703)
OKLCHoklch(32.29% 0.091 309)
XYZxyz(4.4902, 3.0575, 9.1559)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412456 #395624
analogous
#282456 #412456 #562452
triadic
#412456 #564124 #245641
tetradic
#412456 #562824 #395624 #245256
square
#412456 #562824 #395624 #245256
split-complementary
#412456 #525624 #245628
monochromatic
#100916 #20122B #412456 #623681 #8248AC

Accessibility & contrast

On white

13.03
#412456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#412456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412456
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412456#FFFFFF#000000##FFFFFF
##4124561.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153058
Deuteranopia (green-blind)
#1F3155
Tritanopia (blue-blind)
#3E2D39
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412456;
/* rgb */ color: rgb(65, 36, 86);
/* oklch */ color: oklch(32.3% 0.090 309.0);
Tailwind
colors: {
  custom: {
    50: '#776086',
    500: '#412456',
    950: '#000000',
  },
}
SCSS
$custom: #412456;
$custom-light: #776086;
$custom-dark: #000000;
JSON
{
  "hex": "#412456",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 274.8,
    "s": 40.984,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32293,
    "c": 0.0905,
    "h": 309
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#412456
secondary
#668A4C
accent
#D1578A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412456

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

Preview Lab → · Contrast checker → · Palette generator →

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