#41184E#41184E

#41184E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.102 H 317.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#41184E
RGBrgb(65, 24, 78)
HSLhsl(286, 53%, 20%)
HSVhsv(286, 69%, 31%)
CMYKcmyk(16.7%, 69.2%, 0%, 69.4%)
CIE-LABlab(17.12, 29.43, -24.70)
CIE-LCHlch(17.12, 38.42, 319.99°)
OKLaboklab(29.82% 0.0746 -0.0692)
OKLCHoklch(29.82% 0.102 317.2)
XYZxyz(3.8816, 2.3273, 7.4510)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41184E #254E18
analogous
#26184E #41184E #4E1840
triadic
#41184E #4E4118 #184E41
tetradic
#41184E #4E2618 #254E18 #18404E
square
#41184E #4E2618 #254E18 #18404E
split-complementary
#41184E #404E18 #184E26
monochromatic
#140717 #1A0A1F #41184E #68267D #8F35AC

Accessibility & contrast

On white

14.33
#41184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#41184E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41184E
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41184E#FFFFFF#000000##FFFFFF
##41184E1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072850
Deuteranopia (green-blind)
#192B4D
Tritanopia (blue-blind)
#402230
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #41184e;
/* rgb */ color: rgb(65, 24, 78);
/* oklch */ color: oklch(29.8% 0.102 317.2);
Tailwind
colors: {
  custom: {
    50: '#785880',
    500: '#41184e',
    950: '#000000',
  },
}
SCSS
$custom: #41184e;
$custom-light: #785880;
$custom-dark: #000000;
JSON
{
  "hex": "#41184e",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 285.556,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.29818,
    "c": 0.10171,
    "h": 317.2
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#41184E
secondary
#4E853D
accent
#DC4B6E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #41184E

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

Preview Lab → · Contrast checker → · Palette generator →

#41184E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva