#412147#412147

#412147 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 30.8% C 0.077 H 321.1°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#412147
RGBrgb(65, 33, 71)
HSLhsl(291, 37%, 20%)
HSVhsv(291, 54%, 28%)
CMYKcmyk(8.5%, 53.5%, 0%, 72.2%)
CIE-LABlab(18.66, 22.50, -17.49)
CIE-LCHlch(18.66, 28.50, 322.15°)
OKLaboklab(30.81% 0.0599 -0.0483)
OKLCHoklch(30.81% 0.077 321.1)
XYZxyz(3.8610, 2.6666, 6.2713)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412147 #274721
analogous
#2E2147 #412147 #47213A
triadic
#412147 #474121 #214741
tetradic
#412147 #472E21 #274721 #213A47
square
#412147 #472E21 #274721 #213A47
split-complementary
#412147 #3A4721 #21472E
monochromatic
#130A15 #1B0E1D #412147 #673471 #8D489B

Accessibility & contrast

On white

13.70
#412147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#412147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412147
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412147#FFFFFF#000000##FFFFFF
##4121471.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B48
Deuteranopia (green-blind)
#252F46
Tritanopia (blue-blind)
#422630
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #412147;
/* rgb */ color: rgb(65, 33, 71);
/* oklch */ color: oklch(30.8% 0.077 321.1);
Tailwind
colors: {
  custom: {
    50: '#775d7a',
    500: '#412147',
    950: '#000000',
  },
}
SCSS
$custom: #412147;
$custom-light: #775d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#412147",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 290.526,
    "s": 36.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30805,
    "c": 0.07692,
    "h": 321.1
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#412147
secondary
#517B49
accent
#CD5B6D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090409
muted
#7B797B

Preview Lab

Preview with #412147

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

Preview Lab → · Contrast checker → · Palette generator →

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