#412348#412348

#412348 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.2% C 0.074 H 319.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#412348
RGBrgb(65, 35, 72)
HSLhsl(289, 35%, 21%)
HSVhsv(289, 51%, 28%)
CMYKcmyk(9.7%, 51.4%, 0%, 71.8%)
CIE-LABlab(19.20, 21.48, -17.32)
CIE-LCHlch(19.20, 27.59, 321.12°)
OKLaboklab(31.23% 0.0567 -0.0478)
OKLCHoklch(31.23% 0.074 319.8)
XYZxyz(3.9506, 2.7939, 6.4608)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412348 #2A4823
analogous
#2E2348 #412348 #48233C
triadic
#412348 #484123 #234841
tetradic
#412348 #482E23 #2A4823 #233C48
square
#412348 #482E23 #2A4823 #233C48
split-complementary
#412348 #3C4823 #23482E
monochromatic
#130A15 #1C0F1F #412348 #663771 #8B4B9A

Accessibility & contrast

On white

13.47
#412348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412348
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412348#FFFFFF#000000##FFFFFF
##4123481.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C49
Deuteranopia (green-blind)
#263047
Tritanopia (blue-blind)
#412832
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412348;
/* rgb */ color: rgb(65, 35, 72);
/* oklch */ color: oklch(31.2% 0.074 319.8);
Tailwind
colors: {
  custom: {
    50: '#765f7b',
    500: '#412348',
    950: '#000000',
  },
}
SCSS
$custom: #412348;
$custom-light: #765f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#412348",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 72
  },
  "hsl": {
    "h": 288.649,
    "s": 34.579,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31227,
    "c": 0.07413,
    "h": 319.8
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#412348
secondary
#547B4B
accent
#CB5D72
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080409
muted
#7B797B

Preview Lab

Preview with #412348

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

Preview Lab → · Contrast checker → · Palette generator →

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