#41124E#41124E

#41124E is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.111 H 318.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#41124E
RGBrgb(65, 18, 78)
HSLhsl(287, 63%, 19%)
HSVhsv(287, 77%, 31%)
CMYKcmyk(16.7%, 76.9%, 0%, 69.4%)
CIE-LABlab(16.04, 32.44, -26.43)
CIE-LCHlch(16.04, 41.85, 320.83°)
OKLaboklab(29.04% 0.0824 -0.0742)
OKLCHoklch(29.04% 0.111 318)
XYZxyz(3.7712, 2.1067, 7.4142)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41124E #1F4E12
analogous
#23124E #41124E #4E123D
triadic
#41124E #4E4112 #124E41
tetradic
#41124E #4E2312 #1F4E12 #123D4E
square
#41124E #4E2312 #1F4E12 #123D4E
split-complementary
#41124E #3D4E12 #124E23
monochromatic
#150619 #18071C #41124E #6A1D80 #9429B1

Accessibility & contrast

On white

14.78
#41124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#41124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41124E
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41124E#FFFFFF#000000##FFFFFF
##41124E1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#15294D
Tritanopia (blue-blind)
#411E2E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #41124e;
/* rgb */ color: rgb(65, 18, 78);
/* oklch */ color: oklch(29.0% 0.111 318.0);
Tailwind
colors: {
  custom: {
    50: '#785580',
    500: '#41124e',
    950: '#000000',
  },
}
SCSS
$custom: #41124e;
$custom-light: #785580;
$custom-dark: #000000;
JSON
{
  "hex": "#41124e",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 287,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2904,
    "c": 0.1109,
    "h": 318
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#41124E
secondary
#478735
accent
#E64266
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #41124E

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

Preview Lab → · Contrast checker → · Palette generator →

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