#41147D#41147D

#41147D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.160 H 295.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#41147D
RGBrgb(65, 20, 125)
HSLhsl(266, 72%, 28%)
HSVhsv(266, 84%, 49%)
CMYKcmyk(48%, 84%, 0%, 51%)
CIE-LABlab(20.46, 43.38, -50.21)
CIE-LCHlch(20.46, 66.35, 310.82°)
OKLaboklab(33.42% 0.0689 -0.144)
OKLCHoklch(33.42% 0.16 295.6)
XYZxyz(6.1308, 3.1046, 19.6743)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41147D #507D14
analogous
#141C7D #41147D #75147D
triadic
#41147D #7D4114 #147D41
tetradic
#41147D #7D141C #507D14 #147D75
square
#41147D #7D141C #507D14 #147D75
split-complementary
#41147D #7D7514 #1C7D14
monochromatic
#0E041A #260C48 #41147D #5C1CB2 #792EDE

Accessibility & contrast

On white

12.95
#41147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#41147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41147D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41147D#FFFFFF#000000##FFFFFF
##41147D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#303349
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41147d;
/* rgb */ color: rgb(65, 20, 125);
/* oklch */ color: oklch(33.4% 0.160 295.6);
Tailwind
colors: {
  custom: {
    50: '#7d58a4',
    500: '#41147d',
    950: '#000000',
  },
}
SCSS
$custom: #41147d;
$custom-light: #7d58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#41147d",
  "rgb": {
    "r": 65,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 265.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33424,
    "c": 0.15964,
    "h": 295.6
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#41147D
secondary
#7FB23A
accent
#EF39A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41147D

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

Preview Lab → · Contrast checker → · Palette generator →

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