#412150#412150

#412150 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.4% C 0.088 H 313.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#412150
RGBrgb(65, 33, 80)
HSLhsl(281, 42%, 22%)
HSVhsv(281, 59%, 31%)
CMYKcmyk(18.8%, 58.8%, 0%, 68.6%)
CIE-LABlab(19.19, 24.71, -22.78)
CIE-LCHlch(19.19, 33.60, 317.33°)
OKLaboklab(31.37% 0.0611 -0.0636)
OKLCHoklch(31.37% 0.088 313.9)
XYZxyz(4.1716, 2.7908, 7.9068)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412150 #305021
analogous
#2A2150 #412150 #502148
triadic
#412150 #504121 #215041
tetradic
#412150 #502A21 #305021 #214850
square
#412150 #502A21 #305021 #214850
split-complementary
#412150 #485021 #21502A
monochromatic
#120916 #1E0F25 #412150 #64337B #8745A7

Accessibility & contrast

On white

13.48
#412150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#412150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412150
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412150#FFFFFF#000000##FFFFFF
##4121501.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D52
Deuteranopia (green-blind)
#202F4F
Tritanopia (blue-blind)
#402935
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412150;
/* rgb */ color: rgb(65, 33, 80);
/* oklch */ color: oklch(31.4% 0.088 313.9);
Tailwind
colors: {
  custom: {
    50: '#775e81',
    500: '#412150',
    950: '#000000',
  },
}
SCSS
$custom: #412150;
$custom-light: #775e81;
$custom-dark: #000000;
JSON
{
  "hex": "#412150",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 80
  },
  "hsl": {
    "h": 280.851,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3137,
    "c": 0.08821,
    "h": 313.9
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#412150
secondary
#5C8449
accent
#D1567E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #412150

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

Preview Lab → · Contrast checker → · Palette generator →

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