#412356#412356

#412356 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.1% C 0.092 H 309.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#412356
RGBrgb(65, 35, 86)
HSLhsl(275, 42%, 24%)
HSVhsv(275, 59%, 34%)
CMYKcmyk(24.4%, 59.3%, 0%, 66.3%)
CIE-LABlab(20.04, 25.03, -25.46)
CIE-LCHlch(20.04, 35.70, 314.51°)
OKLaboklab(32.12% 0.0585 -0.0714)
OKLCHoklch(32.12% 0.092 309.3)
XYZxyz(4.4604, 2.9978, 9.1460)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412356 #385623
analogous
#272356 #412356 #562351
triadic
#412356 #564123 #235641
tetradic
#412356 #562723 #385623 #235156
square
#412356 #562723 #385623 #235156
split-complementary
#412356 #515623 #235627
monochromatic
#100916 #20112B #412356 #623581 #8346AD

Accessibility & contrast

On white

13.13
#412356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#412356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412356
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412356#FFFFFF#000000##FFFFFF
##4123561.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F58
Deuteranopia (green-blind)
#1E3155
Tritanopia (blue-blind)
#3E2C38
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412356;
/* rgb */ color: rgb(65, 35, 86);
/* oklch */ color: oklch(32.1% 0.092 309.3);
Tailwind
colors: {
  custom: {
    50: '#775f86',
    500: '#412356',
    950: '#000000',
  },
}
SCSS
$custom: #412356;
$custom-light: #775f86;
$custom-dark: #000000;
JSON
{
  "hex": "#412356",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 86
  },
  "hsl": {
    "h": 275.294,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32118,
    "c": 0.09233,
    "h": 309.3
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#412356
secondary
#658A4B
accent
#D25689
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412356

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

Preview Lab → · Contrast checker → · Palette generator →

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