#41248E#41248E

#41248E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.163 H 288.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#41248E
RGBrgb(65, 36, 142)
HSLhsl(256, 60%, 35%)
HSVhsv(256, 75%, 56%)
CMYKcmyk(54.2%, 74.6%, 0%, 44.3%)
CIE-LABlab(24.76, 40.59, -53.83)
CIE-LCHlch(24.76, 67.42, 307.01°)
OKLaboklab(36.94% 0.0509 -0.1547)
OKLCHoklch(36.94% 0.163 288.2)
XYZxyz(7.6919, 4.3382, 26.0180)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41248E #718E24
analogous
#243C8E #41248E #76248E
triadic
#41248E #8E4124 #248E41
tetradic
#41248E #8E243C #718E24 #248E76
square
#41248E #8E243C #718E24 #248E76
split-complementary
#41248E #8E7624 #3C8E24
monochromatic
#140B2C #2B185D #41248E #5730BF #7A58D5

Accessibility & contrast

On white

11.24
#41248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#41248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41248E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41248E#FFFFFF#000000##FFFFFF
##41248E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#234157
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #41248e;
/* rgb */ color: rgb(65, 36, 142);
/* oklch */ color: oklch(36.9% 0.163 288.2);
Tailwind
colors: {
  custom: {
    50: '#7e62b0',
    500: '#41248e',
    950: '#000000',
  },
}
SCSS
$custom: #41248e;
$custom-light: #7e62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#41248e",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 256.415,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.1629,
    "h": 288.2
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#41248E
secondary
#9EB955
accent
#E345B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #41248E

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

Preview Lab → · Contrast checker → · Palette generator →

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