#41248D#41248D

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

Color values

HEX#41248D
RGBrgb(65, 36, 141)
HSLhsl(257, 59%, 35%)
HSVhsv(257, 74%, 55%)
CMYKcmyk(53.9%, 74.5%, 0%, 44.7%)
CIE-LABlab(24.67, 40.29, -53.37)
CIE-LCHlch(24.67, 66.87, 307.05°)
OKLaboklab(36.84% 0.0511 -0.1534)
OKLCHoklch(36.84% 0.162 288.4)
XYZxyz(7.6172, 4.3083, 25.6244)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41248D #708D24
analogous
#243C8D #41248D #75248D
triadic
#41248D #8D4124 #248D41
tetradic
#41248D #8D243C #708D24 #248D75
square
#41248D #8D243C #708D24 #248D75
split-complementary
#41248D #8D7524 #3C8D24
monochromatic
#140B2B #2B185C #41248D #5730BE #7A57D4

Accessibility & contrast

On white

11.28
#41248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#41248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41248D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41248D#FFFFFF#000000##FFFFFF
##41248D1.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)
#003D90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#244056
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #41248d;
/* rgb */ color: rgb(65, 36, 141);
/* oklch */ color: oklch(36.8% 0.162 288.4);
Tailwind
colors: {
  custom: {
    50: '#7e62af',
    500: '#41248d',
    950: '#000000',
  },
}
SCSS
$custom: #41248d;
$custom-light: #7e62af;
$custom-dark: #000000;
JSON
{
  "hex": "#41248d",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 256.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36841,
    "c": 0.16167,
    "h": 288.4
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#41248D
secondary
#9DB854
accent
#E345B7
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41248D

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

Preview Lab → · Contrast checker → · Palette generator →

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