#41154F#41154F

#41154F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.108 H 316.9°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#41154F
RGBrgb(65, 21, 79)
HSLhsl(286, 58%, 20%)
HSVhsv(286, 73%, 31%)
CMYKcmyk(17.7%, 73.4%, 0%, 69%)
CIE-LABlab(16.63, 31.23, -26.18)
CIE-LCHlch(16.63, 40.75, 320.03°)
OKLaboklab(29.49% 0.0786 -0.0734)
OKLCHoklch(29.49% 0.108 316.9)
XYZxyz(3.8592, 2.2248, 7.6218)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41154F #234F15
analogous
#24154F #41154F #4F1540
triadic
#41154F #4F4115 #154F41
tetradic
#41154F #4F2415 #234F15 #15404F
square
#41154F #4F2415 #234F15 #15404F
split-complementary
#41154F #404F15 #154F24
monochromatic
#140618 #19081F #41154F #69227F #912FB0

Accessibility & contrast

On white

14.53
#41154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#41154F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41154F
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41154F#FFFFFF#000000##FFFFFF
##41154F1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#162A4E
Tritanopia (blue-blind)
#402030
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #41154f;
/* rgb */ color: rgb(65, 21, 79);
/* oklch */ color: oklch(29.5% 0.108 316.9);
Tailwind
colors: {
  custom: {
    50: '#785681',
    500: '#41154f',
    950: '#000000',
  },
}
SCSS
$custom: #41154f;
$custom-light: #785681;
$custom-dark: #000000;
JSON
{
  "hex": "#41154f",
  "rgb": {
    "r": 65,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 285.517,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29485,
    "c": 0.10758,
    "h": 316.9
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#41154F
secondary
#4C8739
accent
#E1476C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #41154F

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

Preview Lab → · Contrast checker → · Palette generator →

#41154F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva