#412648#412648

#412648 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 31.8% C 0.068 H 319.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#412648
RGBrgb(65, 38, 72)
HSLhsl(288, 31%, 22%)
HSVhsv(288, 47%, 28%)
CMYKcmyk(9.7%, 47.2%, 0%, 71.8%)
CIE-LABlab(19.96, 19.55, -16.14)
CIE-LCHlch(19.96, 25.35, 320.46°)
OKLaboklab(31.79% 0.0514 -0.0445)
OKLCHoklch(31.79% 0.068 319.2)
XYZxyz(4.0426, 2.9781, 6.4915)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412648 #2D4826
analogous
#302648 #412648 #48263E
triadic
#412648 #484126 #264841
tetradic
#412648 #483026 #2D4826 #263E48
square
#412648 #483026 #2D4826 #263E48
split-complementary
#412648 #3E4826 #264830
monochromatic
#120B14 #1D1120 #412648 #653B70 #895098

Accessibility & contrast

On white

13.16
#412648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#412648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412648
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412648#FFFFFF#000000##FFFFFF
##4126481.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E49
Deuteranopia (green-blind)
#283147
Tritanopia (blue-blind)
#412A33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412648;
/* rgb */ color: rgb(65, 38, 72);
/* oklch */ color: oklch(31.8% 0.068 319.2);
Tailwind
colors: {
  custom: {
    50: '#76617b',
    500: '#412648',
    950: '#000000',
  },
}
SCSS
$custom: #412648;
$custom-light: #76617b;
$custom-dark: #000000;
JSON
{
  "hex": "#412648",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 72
  },
  "hsl": {
    "h": 287.647,
    "s": 30.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31792,
    "c": 0.06798,
    "h": 319.2
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#412648
secondary
#587B4F
accent
#C76176
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080509
muted
#7B797B

Preview Lab

Preview with #412648

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

Preview Lab → · Contrast checker → · Palette generator →

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