#411874#411874

#411874 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.146 H 298.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#411874
RGBrgb(65, 24, 116)
HSLhsl(267, 66%, 27%)
HSVhsv(267, 79%, 45%)
CMYKcmyk(44%, 79.3%, 0%, 54.5%)
CIE-LABlab(20.20, 39.22, -44.88)
CIE-LCHlch(20.20, 59.60, 311.15°)
OKLaboklab(32.98% 0.0685 -0.1284)
OKLCHoklch(32.98% 0.146 298.1)
XYZxyz(5.6582, 3.0379, 16.8079)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411874 #4B7418
analogous
#181D74 #411874 #6F1874
triadic
#411874 #744118 #187441
tetradic
#411874 #74181D #4B7418 #18746F
square
#411874 #74181D #4B7418 #18746F
split-complementary
#411874 #746F18 #1D7418
monochromatic
#0E0519 #250E41 #411874 #5D22A7 #7A32D5

Accessibility & contrast

On white

13.06
#411874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#411874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411874
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411874#FFFFFF#000000##FFFFFF
##4118741.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#343145
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #411874;
/* rgb */ color: rgb(65, 24, 116);
/* oklch */ color: oklch(33.0% 0.146 298.1);
Tailwind
colors: {
  custom: {
    50: '#7b5a9d',
    500: '#411874',
    950: '#000000',
  },
}
SCSS
$custom: #411874;
$custom-light: #7b5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#411874",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 266.739,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32976,
    "c": 0.14553,
    "h": 298.1
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#411874
secondary
#7AA93F
accent
#E93F9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #411874

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

Preview Lab → · Contrast checker → · Palette generator →

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