#41247F#41247F

#41247F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.144 H 292.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#41247F
RGBrgb(65, 36, 127)
HSLhsl(259, 56%, 32%)
HSVhsv(259, 72%, 50%)
CMYKcmyk(48.8%, 71.7%, 0%, 50.2%)
CIE-LABlab(23.40, 36.12, -46.67)
CIE-LCHlch(23.40, 59.01, 307.74°)
OKLaboklab(35.55% 0.0541 -0.1337)
OKLCHoklch(35.55% 0.144 292)
XYZxyz(6.6405, 3.9176, 20.4809)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41247F #627F24
analogous
#24357F #41247F #6F247F
triadic
#41247F #7F4124 #247F41
tetradic
#41247F #7F2435 #627F24 #247F6F
square
#41247F #7F2435 #627F24 #247F6F
split-complementary
#41247F #7F6F24 #357F24
monochromatic
#100920 #29164F #41247F #5932AF #7850CD

Accessibility & contrast

On white

11.77
#41247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#41247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41247F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41247F#FFFFFF#000000##FFFFFF
##41247F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#2E3B4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #41247f;
/* rgb */ color: rgb(65, 36, 127);
/* oklch */ color: oklch(35.5% 0.144 292.0);
Tailwind
colors: {
  custom: {
    50: '#7c61a5',
    500: '#41247f',
    950: '#000000',
  },
}
SCSS
$custom: #41247f;
$custom-light: #7c61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41247f",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 259.121,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35549,
    "c": 0.14425,
    "h": 292
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#41247F
secondary
#91B14E
accent
#DF49AF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41247F

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

Preview Lab → · Contrast checker → · Palette generator →

#41247F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva