#41288D#41288D

#41288D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.157 H 287.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#41288D
RGBrgb(65, 40, 141)
HSLhsl(255, 56%, 35%)
HSVhsv(255, 72%, 55%)
CMYKcmyk(53.9%, 71.6%, 0%, 44.7%)
CIE-LABlab(25.45, 38.09, -52.07)
CIE-LCHlch(25.45, 64.51, 306.18°)
OKLaboklab(37.4% 0.0475 -0.1496)
OKLCHoklch(37.4% 0.157 287.6)
XYZxyz(7.7451, 4.5641, 25.6670)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41288D #748D28
analogous
#28428D #41288D #73288D
triadic
#41288D #8D4128 #288D41
tetradic
#41288D #8D2842 #748D28 #288D73
square
#41288D #8D2842 #748D28 #288D73
split-complementary
#41288D #8D7328 #428D28
monochromatic
#150D2E #2B1A5D #41288D #5736BD #7B5ED1

Accessibility & contrast

On white

10.98
#41288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#41288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41288D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41288D#FFFFFF#000000##FFFFFF
##41288D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#234257
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #41288d;
/* rgb */ color: rgb(65, 40, 141);
/* oklch */ color: oklch(37.4% 0.157 287.6);
Tailwind
colors: {
  custom: {
    50: '#7e64af',
    500: '#41288d',
    950: '#000000',
  },
}
SCSS
$custom: #41288d;
$custom-light: #7e64af;
$custom-dark: #000000;
JSON
{
  "hex": "#41288d",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 254.851,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.15697,
    "h": 287.6
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#41288D
secondary
#A0B75A
accent
#DF49BA
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #41288D

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

Preview Lab → · Contrast checker → · Palette generator →

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