#41288C#41288C

#41288C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.156 H 287.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#41288C
RGBrgb(65, 40, 140)
HSLhsl(255, 56%, 35%)
HSVhsv(255, 71%, 55%)
CMYKcmyk(53.6%, 71.4%, 0%, 45.1%)
CIE-LABlab(25.37, 37.78, -51.60)
CIE-LCHlch(25.37, 63.95, 306.21°)
OKLaboklab(37.31% 0.0477 -0.1482)
OKLCHoklch(37.31% 0.156 287.8)
XYZxyz(7.6710, 4.5345, 25.2769)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41288C #738C28
analogous
#28418C #41288C #73288C
triadic
#41288C #8C4128 #288C41
tetradic
#41288C #8C2841 #738C28 #288C73
square
#41288C #8C2841 #738C28 #288C73
split-complementary
#41288C #8C7328 #418C28
monochromatic
#150D2D #2B1A5C #41288C #5736BC #7A5ED1

Accessibility & contrast

On white

11.01
#41288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#41288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41288C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41288C#FFFFFF#000000##FFFFFF
##41288C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #41288c;
/* rgb */ color: rgb(65, 40, 140);
/* oklch */ color: oklch(37.3% 0.156 287.8);
Tailwind
colors: {
  custom: {
    50: '#7e64ae',
    500: '#41288c',
    950: '#000000',
  },
}
SCSS
$custom: #41288c;
$custom-light: #7e64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#41288c",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 255,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3731,
    "c": 0.1557,
    "h": 287.8
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#41288C
secondary
#9FB65A
accent
#DF49B9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #41288C

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

Preview Lab → · Contrast checker → · Palette generator →

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