#412257#412257

#412257 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.0% C 0.095 H 309.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#412257
RGBrgb(65, 34, 87)
HSLhsl(275, 44%, 24%)
HSVhsv(275, 61%, 34%)
CMYKcmyk(25.3%, 60.9%, 0%, 65.9%)
CIE-LABlab(19.87, 25.91, -26.40)
CIE-LCHlch(19.87, 36.98, 314.46°)
OKLaboklab(32.02% 0.0601 -0.0742)
OKLCHoklch(32.02% 0.095 309)
XYZxyz(4.4720, 2.9561, 9.3500)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412257 #385722
analogous
#262257 #412257 #572252
triadic
#412257 #574122 #225741
tetradic
#412257 #572622 #385722 #225257
square
#412257 #572622 #385722 #225257
split-complementary
#412257 #525722 #225726
monochromatic
#100916 #20112B #412257 #623383 #8344AF

Accessibility & contrast

On white

13.20
#412257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#412257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412257
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412257#FFFFFF#000000##FFFFFF
##4122571.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F59
Deuteranopia (green-blind)
#1C3056
Tritanopia (blue-blind)
#3E2C39
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412257;
/* rgb */ color: rgb(65, 34, 87);
/* oklch */ color: oklch(32.0% 0.095 309.0);
Tailwind
colors: {
  custom: {
    50: '#775e87',
    500: '#412257',
    950: '#000000',
  },
}
SCSS
$custom: #412257;
$custom-light: #775e87;
$custom-dark: #000000;
JSON
{
  "hex": "#412257",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 275.094,
    "s": 43.802,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32016,
    "c": 0.09545,
    "h": 309
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#412257
secondary
#658B4A
accent
#D45489
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412257

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

Preview Lab → · Contrast checker → · Palette generator →

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