#412057#412057

#412057 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.099 H 309.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#412057
RGBrgb(65, 32, 87)
HSLhsl(276, 46%, 23%)
HSVhsv(276, 63%, 34%)
CMYKcmyk(25.3%, 63.2%, 0%, 65.9%)
CIE-LABlab(19.41, 27.12, -27.12)
CIE-LCHlch(19.41, 38.35, 314.99°)
OKLaboklab(31.68% 0.0631 -0.0763)
OKLCHoklch(31.68% 0.099 309.6)
XYZxyz(4.4165, 2.8450, 9.3315)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412057 #365720
analogous
#252057 #412057 #572051
triadic
#412057 #574120 #205741
tetradic
#412057 #572520 #365720 #205157
square
#412057 #572520 #365720 #205157
split-complementary
#412057 #515720 #205725
monochromatic
#110816 #20102A #412057 #623084 #8441B0

Accessibility & contrast

On white

13.38
#412057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#412057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412057
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412057#FFFFFF#000000##FFFFFF
##4120571.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2E59
Deuteranopia (green-blind)
#1A3056
Tritanopia (blue-blind)
#3E2A38
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412057;
/* rgb */ color: rgb(65, 32, 87);
/* oklch */ color: oklch(31.7% 0.099 309.6);
Tailwind
colors: {
  custom: {
    50: '#785d87',
    500: '#412057',
    950: '#000000',
  },
}
SCSS
$custom: #412057;
$custom-light: #785d87;
$custom-dark: #000000;
JSON
{
  "hex": "#412057",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 276,
    "s": 46.218,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31683,
    "c": 0.09897,
    "h": 309.6
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#412057
secondary
#638B47
accent
#D65287
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412057

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

Preview Lab → · Contrast checker → · Palette generator →

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