#413148#413148

#413148 is a dark, muted purple. Relative luminance 0.038; OKLCH L 34.1% C 0.045 H 315.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#413148
RGBrgb(65, 49, 72)
HSLhsl(282, 19%, 24%)
HSVhsv(282, 32%, 28%)
CMYKcmyk(9.7%, 31.9%, 0%, 71.8%)
CIE-LABlab(22.96, 12.25, -11.50)
CIE-LCHlch(22.96, 16.80, 316.82°)
OKLaboklab(34.07% 0.0318 -0.0314)
OKLCHoklch(34.07% 0.045 315.4)
XYZxyz(4.4478, 3.7884, 6.6266)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413148 #384831
analogous
#353148 #413148 #483143
triadic
#413148 #484131 #314841
tetradic
#413148 #483531 #384831 #314348
square
#413148 #483531 #384831 #314348
split-complementary
#413148 #434831 #314835
monochromatic
#100C12 #201824 #413148 #624A6C #836391

Accessibility & contrast

On white

11.95
#413148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#413148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413148
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413148#FFFFFF#000000##FFFFFF
##4131481.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#313747
Tritanopia (blue-blind)
#413439
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #413148;
/* rgb */ color: rgb(65, 49, 72);
/* oklch */ color: oklch(34.1% 0.045 315.4);
Tailwind
colors: {
  custom: {
    50: '#76697b',
    500: '#413148',
    950: '#000000',
  },
}
SCSS
$custom: #413148;
$custom-light: #76697b;
$custom-dark: #000000;
JSON
{
  "hex": "#413148",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 72
  },
  "hsl": {
    "h": 281.739,
    "s": 19.008,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34067,
    "c": 0.04462,
    "h": 315.4
  },
  "luminance": 0.03788
}

Semantic roles & 50–950 ramp

primary
#413148
secondary
#65795C
accent
#BC6C84
background
#F7F6F7
surface
#EDEBED
border
#C8C6C8
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #413148

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

Preview Lab → · Contrast checker → · Palette generator →

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