#412059#412059

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

Color values

HEX#412059
RGBrgb(65, 32, 89)
HSLhsl(275, 47%, 24%)
HSVhsv(275, 64%, 35%)
CMYKcmyk(27%, 64%, 0%, 65.1%)
CIE-LABlab(19.55, 27.64, -28.24)
CIE-LCHlch(19.55, 39.52, 314.39°)
OKLaboklab(31.83% 0.0631 -0.0796)
OKLCHoklch(31.83% 0.102 308.4)
XYZxyz(4.4993, 2.8782, 9.7678)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412059 #385920
analogous
#242059 #412059 #592054
triadic
#412059 #594120 #205941
tetradic
#412059 #592420 #385920 #205459
square
#412059 #592420 #385920 #205459
split-complementary
#412059 #545920 #205924
monochromatic
#100817 #20102C #412059 #623086 #8340B3

Accessibility & contrast

On white

13.33
#412059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412059
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412059#FFFFFF#000000##FFFFFF
##4120591.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092E5B
Deuteranopia (green-blind)
#183058
Tritanopia (blue-blind)
#3D2B39
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412059;
/* rgb */ color: rgb(65, 32, 89);
/* oklch */ color: oklch(31.8% 0.102 308.4);
Tailwind
colors: {
  custom: {
    50: '#785d88',
    500: '#412059',
    950: '#000000',
  },
}
SCSS
$custom: #412059;
$custom-light: #785d88;
$custom-dark: #000000;
JSON
{
  "hex": "#412059",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 274.737,
    "s": 47.107,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31827,
    "c": 0.10153,
    "h": 308.4
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#412059
secondary
#658D47
accent
#D75189
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412059

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

Preview Lab → · Contrast checker → · Palette generator →

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