#41288B#41288B

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

Color values

HEX#41288B
RGBrgb(65, 40, 139)
HSLhsl(255, 55%, 35%)
HSVhsv(255, 71%, 55%)
CMYKcmyk(53.2%, 71.2%, 0%, 45.5%)
CIE-LABlab(25.28, 37.47, -51.12)
CIE-LCHlch(25.28, 63.39, 306.24°)
OKLaboklab(37.22% 0.0479 -0.1468)
OKLCHoklch(37.22% 0.154 288.1)
XYZxyz(7.5976, 4.5051, 24.8903)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41288B #728B28
analogous
#28408B #41288B #73288B
triadic
#41288B #8B4128 #288B41
tetradic
#41288B #8B2840 #728B28 #288B73
square
#41288B #8B2840 #728B28 #288B73
split-complementary
#41288B #8B7328 #408B28
monochromatic
#150D2C #2B1A5B #41288B #5736BB #7A5DD0

Accessibility & contrast

On white

11.05
#41288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#41288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41288B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41288B#FFFFFF#000000##FFFFFF
##41288B1.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)
#003E8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#254256
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #41288b;
/* rgb */ color: rgb(65, 40, 139);
/* oklch */ color: oklch(37.2% 0.154 288.1);
Tailwind
colors: {
  custom: {
    50: '#7d64ae',
    500: '#41288b',
    950: '#000000',
  },
}
SCSS
$custom: #41288b;
$custom-light: #7d64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#41288b",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 255.152,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37219,
    "c": 0.15443,
    "h": 288.1
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#41288B
secondary
#9EB659
accent
#DF49B9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #41288B

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

Preview Lab → · Contrast checker → · Palette generator →

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