#41278C#41278C

#41278C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.157 H 288.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#41278C
RGBrgb(65, 39, 140)
HSLhsl(255, 56%, 35%)
HSVhsv(255, 72%, 55%)
CMYKcmyk(53.6%, 72.1%, 0%, 45.1%)
CIE-LABlab(25.16, 38.34, -51.93)
CIE-LCHlch(25.16, 64.55, 306.44°)
OKLaboklab(37.17% 0.0486 -0.1492)
OKLCHoklch(37.17% 0.157 288.1)
XYZxyz(7.6377, 4.4679, 25.2658)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41278C #728C27
analogous
#273F8C #41278C #74278C
triadic
#41278C #8C4127 #278C41
tetradic
#41278C #8C273F #728C27 #278C74
square
#41278C #8C273F #728C27 #278C74
split-complementary
#41278C #8C7427 #3F8C27
monochromatic
#150C2C #2B1A5C #41278C #5734BC #7A5CD2

Accessibility & contrast

On white

11.09
#41278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41278C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41278C#FFFFFF#000000##FFFFFF
##41278C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#244156
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #41278c;
/* rgb */ color: rgb(65, 39, 140);
/* oklch */ color: oklch(37.2% 0.157 288.1);
Tailwind
colors: {
  custom: {
    50: '#7e63af',
    500: '#41278c',
    950: '#000000',
  },
}
SCSS
$custom: #41278c;
$custom-light: #7e63af;
$custom-dark: #000000;
JSON
{
  "hex": "#41278c",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 255.446,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37165,
    "c": 0.15692,
    "h": 288.1
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #41278C

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

Preview Lab → · Contrast checker → · Palette generator →

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