#412656#412656

#412656 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.7% C 0.087 H 308.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#412656
RGBrgb(65, 38, 86)
HSLhsl(274, 39%, 24%)
HSVhsv(274, 56%, 34%)
CMYKcmyk(24.4%, 55.8%, 0%, 66.3%)
CIE-LABlab(20.76, 23.14, -24.31)
CIE-LCHlch(20.76, 33.56, 313.59°)
OKLaboklab(32.65% 0.0538 -0.0681)
OKLCHoklch(32.65% 0.087 308.3)
XYZxyz(4.5525, 3.1820, 9.1767)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412656 #3B5626
analogous
#292656 #412656 #562653
triadic
#412656 #564126 #265641
tetradic
#412656 #562926 #3B5626 #265356
square
#412656 #562926 #3B5626 #265356
split-complementary
#412656 #535626 #265629
monochromatic
#100915 #21132C #412656 #613980 #814CAB

Accessibility & contrast

On white

12.83
#412656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#412656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412656
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412656#FFFFFF#000000##FFFFFF
##4126561.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183158
Deuteranopia (green-blind)
#213255
Tritanopia (blue-blind)
#3E2E3A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412656;
/* rgb */ color: rgb(65, 38, 86);
/* oklch */ color: oklch(32.7% 0.087 308.3);
Tailwind
colors: {
  custom: {
    50: '#776186',
    500: '#412656',
    950: '#000000',
  },
}
SCSS
$custom: #412656;
$custom-light: #776186;
$custom-dark: #000000;
JSON
{
  "hex": "#412656",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 86
  },
  "hsl": {
    "h": 273.75,
    "s": 38.71,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32652,
    "c": 0.08679,
    "h": 308.3
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#412656
secondary
#68894F
accent
#CF598D
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412656

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

Preview Lab → · Contrast checker → · Palette generator →

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