#41278D#41278D

#41278D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.158 H 287.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#41278D
RGBrgb(65, 39, 141)
HSLhsl(255, 57%, 35%)
HSVhsv(255, 72%, 55%)
CMYKcmyk(53.9%, 72.3%, 0%, 44.7%)
CIE-LABlab(25.25, 38.65, -52.40)
CIE-LCHlch(25.25, 65.11, 306.41°)
OKLaboklab(37.26% 0.0484 -0.1506)
OKLCHoklch(37.26% 0.158 287.8)
XYZxyz(7.7118, 4.4976, 25.6559)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41278D #738D27
analogous
#27408D #41278D #74278D
triadic
#41278D #8D4127 #278D41
tetradic
#41278D #8D2740 #738D27 #278D74
square
#41278D #8D2740 #738D27 #278D74
split-complementary
#41278D #8D7427 #408D27
monochromatic
#150C2D #2B1A5D #41278D #5734BD #7A5CD2

Accessibility & contrast

On white

11.05
#41278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#41278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41278D
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41278D#FFFFFF#000000##FFFFFF
##41278D1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#234257
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #41278d;
/* rgb */ color: rgb(65, 39, 141);
/* oklch */ color: oklch(37.3% 0.158 287.8);
Tailwind
colors: {
  custom: {
    50: '#7e63af',
    500: '#41278d',
    950: '#000000',
  },
}
SCSS
$custom: #41278d;
$custom-light: #7e63af;
$custom-dark: #000000;
JSON
{
  "hex": "#41278d",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 255.294,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37258,
    "c": 0.15817,
    "h": 287.8
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#41278D
secondary
#9FB759
accent
#E048B9
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #41278D

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

Preview Lab → · Contrast checker → · Palette generator →

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