#41258B#41258B

#41258B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.158 H 288.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#41258B
RGBrgb(65, 37, 139)
HSLhsl(256, 58%, 35%)
HSVhsv(256, 73%, 55%)
CMYKcmyk(53.2%, 73.4%, 0%, 45.5%)
CIE-LABlab(24.67, 39.15, -52.11)
CIE-LCHlch(24.67, 65.18, 306.92°)
OKLaboklab(36.79% 0.0507 -0.1497)
OKLCHoklch(36.79% 0.158 288.7)
XYZxyz(7.5004, 4.3107, 24.8579)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41258B #6F8B25
analogous
#253C8B #41258B #74258B
triadic
#41258B #8B4125 #258B41
tetradic
#41258B #8B253C #6F8B25 #258B74
square
#41258B #8B253C #6F8B25 #258B74
split-complementary
#41258B #8B7425 #3C8B25
monochromatic
#140B2A #2A185B #41258B #5832BB #7A58D3

Accessibility & contrast

On white

11.28
#41258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#41258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41258B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41258B#FFFFFF#000000##FFFFFF
##41258B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#254055
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #41258b;
/* rgb */ color: rgb(65, 37, 139);
/* oklch */ color: oklch(36.8% 0.158 288.7);
Tailwind
colors: {
  custom: {
    50: '#7e62ae',
    500: '#41258b',
    950: '#000000',
  },
}
SCSS
$custom: #41258b;
$custom-light: #7e62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#41258b",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 256.471,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3679,
    "c": 0.15805,
    "h": 288.7
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#41258B
secondary
#9CB755
accent
#E147B7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41258B

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

Preview Lab → · Contrast checker → · Palette generator →

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