#41288F#41288F

#41288F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.159 H 287.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#41288F
RGBrgb(65, 40, 143)
HSLhsl(255, 56%, 36%)
HSVhsv(255, 72%, 56%)
CMYKcmyk(54.5%, 72%, 0%, 43.9%)
CIE-LABlab(25.64, 38.70, -53.02)
CIE-LCHlch(25.64, 65.64, 306.12°)
OKLaboklab(37.59% 0.0471 -0.1524)
OKLCHoklch(37.59% 0.159 287.2)
XYZxyz(7.8952, 4.6242, 26.4578)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41288F #768F28
analogous
#28428F #41288F #74288F
triadic
#41288F #8F4128 #288F41
tetradic
#41288F #8F2842 #768F28 #288F74
square
#41288F #8F2842 #768F28 #288F74
split-complementary
#41288F #8F7428 #428F28
monochromatic
#160D2F #2B1B5F #41288F #5735BF #7B5FD2

Accessibility & contrast

On white

10.91
#41288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#41288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41288F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41288F#FFFFFF#000000##FFFFFF
##41288F1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#224358
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41288f;
/* rgb */ color: rgb(65, 40, 143);
/* oklch */ color: oklch(37.6% 0.159 287.2);
Tailwind
colors: {
  custom: {
    50: '#7e64b1',
    500: '#41288f',
    950: '#000000',
  },
}
SCSS
$custom: #41288f;
$custom-light: #7e64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#41288f",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 254.563,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.15949,
    "h": 287.2
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#41288F
secondary
#A1B85B
accent
#E048BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #41288F

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

Preview Lab → · Contrast checker → · Palette generator →

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