#41278B#41278B

#41278B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.156 H 288.3°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#41278B
RGBrgb(65, 39, 139)
HSLhsl(256, 56%, 35%)
HSVhsv(256, 72%, 55%)
CMYKcmyk(53.2%, 71.9%, 0%, 45.5%)
CIE-LABlab(25.07, 38.04, -51.46)
CIE-LCHlch(25.07, 63.99, 306.47°)
OKLaboklab(37.07% 0.0488 -0.1478)
OKLCHoklch(37.07% 0.156 288.3)
XYZxyz(7.5643, 4.4386, 24.8792)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41278B #718B27
analogous
#273F8B #41278B #73278B
triadic
#41278B #8B4127 #278B41
tetradic
#41278B #8B273F #718B27 #278B73
square
#41278B #8B273F #718B27 #278B73
split-complementary
#41278B #8B7327 #3F8B27
monochromatic
#140C2B #2B1A5B #41278B #5734BB #7A5BD1

Accessibility & contrast

On white

11.12
#41278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#41278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41278B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41278B#FFFFFF#000000##FFFFFF
##41278B1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#254156
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #41278b;
/* rgb */ color: rgb(65, 39, 139);
/* oklch */ color: oklch(37.1% 0.156 288.3);
Tailwind
colors: {
  custom: {
    50: '#7d63ae',
    500: '#41278b',
    950: '#000000',
  },
}
SCSS
$custom: #41278b;
$custom-light: #7d63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#41278b",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 255.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37073,
    "c": 0.15566,
    "h": 288.3
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#41278B
secondary
#9EB658
accent
#DF48B8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #41278B

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

Preview Lab → · Contrast checker → · Palette generator →

#41278B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva