#41288E#41288E

#41288E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.158 H 287.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#41288E
RGBrgb(65, 40, 142)
HSLhsl(255, 56%, 36%)
HSVhsv(255, 72%, 56%)
CMYKcmyk(54.2%, 71.8%, 0%, 44.3%)
CIE-LABlab(25.55, 38.39, -52.55)
CIE-LCHlch(25.55, 65.08, 306.15°)
OKLaboklab(37.49% 0.0473 -0.151)
OKLCHoklch(37.49% 0.158 287.4)
XYZxyz(7.8198, 4.5940, 26.0606)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41288E #758E28
analogous
#28428E #41288E #74288E
triadic
#41288E #8E4128 #288E41
tetradic
#41288E #8E2842 #758E28 #288E74
square
#41288E #8E2842 #758E28 #288E74
split-complementary
#41288E #8E7428 #428E28
monochromatic
#150D2F #2B1B5E #41288E #5735BE #7B5FD2

Accessibility & contrast

On white

10.94
#41288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#41288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41288E
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41288E#FFFFFF#000000##FFFFFF
##41288E1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#224358
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41288e;
/* rgb */ color: rgb(65, 40, 142);
/* oklch */ color: oklch(37.5% 0.158 287.4);
Tailwind
colors: {
  custom: {
    50: '#7e64b0',
    500: '#41288e',
    950: '#000000',
  },
}
SCSS
$custom: #41288e;
$custom-light: #7e64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#41288e",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 254.706,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.15823,
    "h": 287.4
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#41288E
secondary
#A1B75B
accent
#DF48BA
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #41288E

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

Preview Lab → · Contrast checker → · Palette generator →

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