#41278F#41278F

#41278F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.161 H 287.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#41278F
RGBrgb(65, 39, 143)
HSLhsl(255, 57%, 36%)
HSVhsv(255, 73%, 56%)
CMYKcmyk(54.5%, 72.7%, 0%, 43.9%)
CIE-LABlab(25.44, 39.26, -53.35)
CIE-LCHlch(25.44, 66.23, 306.35°)
OKLaboklab(37.44% 0.048 -0.1533)
OKLCHoklch(37.44% 0.161 287.4)
XYZxyz(7.8620, 4.5576, 26.4467)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41278F #758F27
analogous
#27418F #41278F #75278F
triadic
#41278F #8F4127 #278F41
tetradic
#41278F #8F2741 #758F27 #278F75
square
#41278F #8F2741 #758F27 #278F75
split-complementary
#41278F #8F7527 #418F27
monochromatic
#150D2F #2B1A5F #41278F #5734BF #7B5DD3

Accessibility & contrast

On white

10.99
#41278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#41278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41278F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41278F#FFFFFF#000000##FFFFFF
##41278F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#224258
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #41278f;
/* rgb */ color: rgb(65, 39, 143);
/* oklch */ color: oklch(37.4% 0.161 287.4);
Tailwind
colors: {
  custom: {
    50: '#7e64b1',
    500: '#41278f',
    950: '#000000',
  },
}
SCSS
$custom: #41278f;
$custom-light: #7e64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#41278f",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 255,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37444,
    "c": 0.16068,
    "h": 287.4
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#41278F
secondary
#A1B85A
accent
#E047BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #41278F

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

Preview Lab → · Contrast checker → · Palette generator →

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