#412756#412756

#412756 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.8% C 0.085 H 307.9°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#412756
RGBrgb(65, 39, 86)
HSLhsl(273, 38%, 25%)
HSVhsv(273, 55%, 34%)
CMYKcmyk(24.4%, 54.7%, 0%, 66.3%)
CIE-LABlab(21.01, 22.50, -23.92)
CIE-LCHlch(21.01, 32.84, 313.25°)
OKLaboklab(32.84% 0.0522 -0.067)
OKLCHoklch(32.84% 0.085 307.9)
XYZxyz(4.5849, 3.2468, 9.1875)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412756 #3C5627
analogous
#292756 #412756 #562754
triadic
#412756 #564127 #275641
tetradic
#412756 #562927 #3C5627 #275456
square
#412756 #562927 #3C5627 #275456
split-complementary
#412756 #545627 #275629
monochromatic
#100A15 #21142C #412756 #613A80 #814DAA

Accessibility & contrast

On white

12.73
#412756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#412756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412756
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412756#FFFFFF#000000##FFFFFF
##4127561.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3158
Deuteranopia (green-blind)
#223355
Tritanopia (blue-blind)
#3E2F3A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412756;
/* rgb */ color: rgb(65, 39, 86);
/* oklch */ color: oklch(32.8% 0.085 307.9);
Tailwind
colors: {
  custom: {
    50: '#776286',
    500: '#412756',
    950: '#000000',
  },
}
SCSS
$custom: #412756;
$custom-light: #776286;
$custom-dark: #000000;
JSON
{
  "hex": "#412756",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 273.191,
    "s": 37.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32836,
    "c": 0.08491,
    "h": 307.9
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#412756
secondary
#698950
accent
#CE5A8E
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412756

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

Preview Lab → · Contrast checker → · Palette generator →

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