#41287E#41287E

#41287E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.138 H 291.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#41287E
RGBrgb(65, 40, 126)
HSLhsl(257, 52%, 33%)
HSVhsv(257, 68%, 49%)
CMYKcmyk(48.4%, 68.3%, 0%, 50.6%)
CIE-LABlab(24.15, 33.51, -44.80)
CIE-LCHlch(24.15, 55.95, 306.79°)
OKLaboklab(36.06% 0.05 -0.1283)
OKLCHoklch(36.06% 0.138 291.3)
XYZxyz(6.7036, 4.1475, 20.1820)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41287E #657E28
analogous
#283A7E #41287E #6C287E
triadic
#41287E #7E4128 #287E41
tetradic
#41287E #7E283A #657E28 #287E6C
square
#41287E #7E283A #657E28 #287E6C
split-complementary
#41287E #7E6C28 #3A7E28
monochromatic
#110B21 #291950 #41287E #5937AC #7857CA

Accessibility & contrast

On white

11.48
#41287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#41287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41287E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41287E#FFFFFF#000000##FFFFFF
##41287E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#2E3D4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41287e;
/* rgb */ color: rgb(65, 40, 126);
/* oklch */ color: oklch(36.1% 0.138 291.3);
Tailwind
colors: {
  custom: {
    50: '#7b64a4',
    500: '#41287e',
    950: '#000000',
  },
}
SCSS
$custom: #41287e;
$custom-light: #7b64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#41287e",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 257.442,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36064,
    "c": 0.13766,
    "h": 291.3
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#41287E
secondary
#94AF53
accent
#DB4DB2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41287E

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

Preview Lab → · Contrast checker → · Palette generator →

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