#412148#412148

#412148 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 30.9% C 0.078 H 320.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#412148
RGBrgb(65, 33, 72)
HSLhsl(289, 37%, 21%)
HSVhsv(289, 54%, 28%)
CMYKcmyk(9.7%, 54.2%, 0%, 71.8%)
CIE-LABlab(18.71, 22.74, -18.08)
CIE-LCHlch(18.71, 29.05, 321.51°)
OKLaboklab(30.87% 0.0601 -0.05)
OKLCHoklch(30.87% 0.078 320.2)
XYZxyz(3.8934, 2.6796, 6.4418)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412148 #284821
analogous
#2D2148 #412148 #48213B
triadic
#412148 #484121 #214841
tetradic
#412148 #482D21 #284821 #213B48
square
#412148 #482D21 #284821 #213B48
split-complementary
#412148 #3B4821 #21482D
monochromatic
#130A15 #1B0E1E #412148 #673472 #8D479C

Accessibility & contrast

On white

13.67
#412148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#412148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412148
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412148#FFFFFF#000000##FFFFFF
##4121481.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B49
Deuteranopia (green-blind)
#242F47
Tritanopia (blue-blind)
#412631
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #412148;
/* rgb */ color: rgb(65, 33, 72);
/* oklch */ color: oklch(30.9% 0.078 320.2);
Tailwind
colors: {
  custom: {
    50: '#775d7b',
    500: '#412148',
    950: '#000000',
  },
}
SCSS
$custom: #412148;
$custom-light: #775d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#412148",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 289.231,
    "s": 37.143,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30865,
    "c": 0.07814,
    "h": 320.2
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#412148
secondary
#527C49
accent
#CD5B6F
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090409
muted
#7B797B

Preview Lab

Preview with #412148

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

Preview Lab → · Contrast checker → · Palette generator →

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