#41248B#41248B

#41248B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.159 H 288.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#41248B
RGBrgb(65, 36, 139)
HSLhsl(257, 59%, 34%)
HSVhsv(257, 74%, 55%)
CMYKcmyk(53.2%, 74.1%, 0%, 45.5%)
CIE-LABlab(24.48, 39.69, -52.43)
CIE-LCHlch(24.48, 65.76, 307.13°)
OKLaboklab(36.65% 0.0516 -0.1506)
OKLCHoklch(36.65% 0.159 288.9)
XYZxyz(7.4697, 4.2493, 24.8477)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41248B #6E8B24
analogous
#243B8B #41248B #75248B
triadic
#41248B #8B4124 #248B41
tetradic
#41248B #8B243B #6E8B24 #248B75
square
#41248B #8B243B #6E8B24 #248B75
split-complementary
#41248B #8B7524 #3B8B24
monochromatic
#140B2A #2A175A #41248B #5831BC #7956D3

Accessibility & contrast

On white

11.35
#41248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#41248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41248B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41248B#FFFFFF#000000##FFFFFF
##41248B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#253F55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41248b;
/* rgb */ color: rgb(65, 36, 139);
/* oklch */ color: oklch(36.7% 0.159 288.9);
Tailwind
colors: {
  custom: {
    50: '#7e62ae',
    500: '#41248b',
    950: '#000000',
  },
}
SCSS
$custom: #41248b;
$custom-light: #7e62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#41248b",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 256.893,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.15922,
    "h": 288.9
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#41248B
secondary
#9BB753
accent
#E246B6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41248B

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

Preview Lab → · Contrast checker → · Palette generator →

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