#41289E#41289E

#41289E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.178 H 284.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#41289E
RGBrgb(65, 40, 158)
HSLhsl(253, 60%, 39%)
HSVhsv(253, 75%, 62%)
CMYKcmyk(58.9%, 74.7%, 0%, 38%)
CIE-LABlab(27.04, 43.27, -59.92)
CIE-LCHlch(27.04, 73.91, 305.83°)
OKLaboklab(39.02% 0.0438 -0.1726)
OKLCHoklch(39.02% 0.178 284.2)
XYZxyz(9.1084, 5.1095, 32.8474)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41289E #859E28
analogous
#284A9E #41289E #7C289E
triadic
#41289E #9E4128 #289E41
tetradic
#41289E #9E284A #859E28 #289E7C
square
#41289E #9E284A #859E28 #289E7C
split-complementary
#41289E #9E7C28 #4A9E28
monochromatic
#190F3C #2D1C6D #41289E #5737CC #8068D9

Accessibility & contrast

On white

10.39
#41289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#41289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41289E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41289E#FFFFFF#000000##FFFFFF
##41289E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#0C4961
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #41289e;
/* rgb */ color: rgb(65, 40, 158);
/* oklch */ color: oklch(39.0% 0.178 284.2);
Tailwind
colors: {
  custom: {
    50: '#8165bc',
    500: '#41289e',
    950: '#000000',
  },
}
SCSS
$custom: #41289e;
$custom-light: #8165bc;
$custom-dark: #000000;
JSON
{
  "hex": "#41289e",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 252.712,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.17806,
    "h": 284.2
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#41289E
secondary
#ABBF63
accent
#E345C1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #41289E

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

Preview Lab → · Contrast checker → · Palette generator →

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