#41247C#41247C

#41247C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.140 H 292.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#41247C
RGBrgb(65, 36, 124)
HSLhsl(260, 55%, 31%)
HSVhsv(260, 71%, 49%)
CMYKcmyk(47.6%, 71%, 0%, 51.4%)
CIE-LABlab(23.14, 35.23, -45.19)
CIE-LCHlch(23.14, 57.30, 307.94°)
OKLaboklab(35.28% 0.0547 -0.1294)
OKLCHoklch(35.28% 0.14 292.9)
XYZxyz(6.4479, 3.8406, 19.4665)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41247C #5F7C24
analogous
#24337C #41247C #6D247C
triadic
#41247C #7C4124 #247C41
tetradic
#41247C #7C2433 #5F7C24 #247C6D
square
#41247C #7C2433 #5F7C24 #247C6D
split-complementary
#41247C #7C6D24 #337C24
monochromatic
#0F081D #28164D #41247C #5A32AB #784FCC

Accessibility & contrast

On white

11.88
#41247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#41247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41247C
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41247C#FFFFFF#000000##FFFFFF
##41247C1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#2F3A4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41247c;
/* rgb */ color: rgb(65, 36, 124);
/* oklch */ color: oklch(35.3% 0.140 292.9);
Tailwind
colors: {
  custom: {
    50: '#7b61a3',
    500: '#41247c',
    950: '#000000',
  },
}
SCSS
$custom: #41247c;
$custom-light: #7b61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41247c",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 259.773,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35282,
    "c": 0.14046,
    "h": 292.9
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#41247C
secondary
#8EAE4D
accent
#DE49AD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41247C

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

Preview Lab → · Contrast checker → · Palette generator →

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