#412151#412151

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

Color values

HEX#412151
RGBrgb(65, 33, 81)
HSLhsl(280, 42%, 22%)
HSVhsv(280, 59%, 32%)
CMYKcmyk(19.8%, 59.3%, 0%, 68.2%)
CIE-LABlab(19.25, 24.96, -23.35)
CIE-LCHlch(19.25, 34.18, 316.91°)
OKLaboklab(31.44% 0.0612 -0.0653)
OKLCHoklch(31.44% 0.089 313.2)
XYZxyz(4.2088, 2.8057, 8.1028)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412151 #315121
analogous
#292151 #412151 #512149
triadic
#412151 #514121 #215141
tetradic
#412151 #512921 #315121 #214951
square
#412151 #512921 #315121 #214951
split-complementary
#412151 #495121 #215129
monochromatic
#110916 #1E0F26 #412151 #64337C #8744A8

Accessibility & contrast

On white

13.45
#412151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412151
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412151#FFFFFF#000000##FFFFFF
##4121511.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D53
Deuteranopia (green-blind)
#1F2F50
Tritanopia (blue-blind)
#402935
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412151;
/* rgb */ color: rgb(65, 33, 81);
/* oklch */ color: oklch(31.4% 0.089 313.2);
Tailwind
colors: {
  custom: {
    50: '#775e82',
    500: '#412151',
    950: '#000000',
  },
}
SCSS
$custom: #412151;
$custom-light: #775e82;
$custom-dark: #000000;
JSON
{
  "hex": "#412151",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 280,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31436,
    "c": 0.08949,
    "h": 313.2
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#412151
secondary
#5D8549
accent
#D2567F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #412151

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

Preview Lab → · Contrast checker → · Palette generator →

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