#412160#412160

#412160 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.109 H 304.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#412160
RGBrgb(65, 33, 96)
HSLhsl(270, 49%, 25%)
HSVhsv(270, 66%, 38%)
CMYKcmyk(32.3%, 65.6%, 0%, 62.4%)
CIE-LABlab(20.27, 28.94, -31.73)
CIE-LCHlch(20.27, 42.94, 312.36°)
OKLaboklab(32.51% 0.0615 -0.0898)
OKLCHoklch(32.51% 0.109 304.4)
XYZxyz(4.8347, 3.0561, 11.3992)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412160 #406021
analogous
#212160 #412160 #60215F
triadic
#412160 #604121 #216041
tetradic
#412160 #602121 #406021 #215F60
square
#412160 #602121 #406021 #215F60
split-complementary
#412160 #5F6021 #216021
monochromatic
#0F0817 #221132 #412160 #60318E #7F40BB

Accessibility & contrast

On white

13.03
#412160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#412160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412160
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412160#FFFFFF#000000##FFFFFF
##4121601.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#12315F
Tritanopia (blue-blind)
#3B2E3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412160;
/* rgb */ color: rgb(65, 33, 96);
/* oklch */ color: oklch(32.5% 0.109 304.4);
Tailwind
colors: {
  custom: {
    50: '#785e8e',
    500: '#412160',
    950: '#000000',
  },
}
SCSS
$custom: #412160;
$custom-light: #785e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#412160",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 270.476,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32509,
    "c": 0.10885,
    "h": 304.4
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#412160
secondary
#6E9449
accent
#D84F93
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #412160

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

Preview Lab → · Contrast checker → · Palette generator →

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