#412157#412157

#412157 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.097 H 309.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#412157
RGBrgb(65, 33, 87)
HSLhsl(276, 45%, 24%)
HSVhsv(276, 62%, 34%)
CMYKcmyk(25.3%, 62.1%, 0%, 65.9%)
CIE-LABlab(19.64, 26.52, -26.76)
CIE-LCHlch(19.64, 37.67, 314.73°)
OKLaboklab(31.85% 0.0616 -0.0752)
OKLCHoklch(31.85% 0.097 309.3)
XYZxyz(4.4438, 2.8997, 9.3406)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412157 #375721
analogous
#262157 #412157 #572152
triadic
#412157 #574121 #215741
tetradic
#412157 #572621 #375721 #215257
square
#412157 #572621 #375721 #215257
split-complementary
#412157 #525721 #215726
monochromatic
#110816 #20102B #412157 #623283 #8343B0

Accessibility & contrast

On white

13.29
#412157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#412157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412157
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412157#FFFFFF#000000##FFFFFF
##4121571.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2E59
Deuteranopia (green-blind)
#1B3056
Tritanopia (blue-blind)
#3E2B38
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412157;
/* rgb */ color: rgb(65, 33, 87);
/* oklch */ color: oklch(31.8% 0.097 309.3);
Tailwind
colors: {
  custom: {
    50: '#775e87',
    500: '#412157',
    950: '#000000',
  },
}
SCSS
$custom: #412157;
$custom-light: #775e87;
$custom-dark: #000000;
JSON
{
  "hex": "#412157",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 275.556,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31848,
    "c": 0.09722,
    "h": 309.3
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#412157
secondary
#648B49
accent
#D55388
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412157

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

Preview Lab → · Contrast checker → · Palette generator →

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