#41147B#41147B

#41147B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.157 H 296.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#41147B
RGBrgb(65, 20, 123)
HSLhsl(266, 72%, 28%)
HSVhsv(266, 84%, 48%)
CMYKcmyk(47.2%, 83.7%, 0%, 51.8%)
CIE-LABlab(20.26, 42.85, -49.26)
CIE-LCHlch(20.26, 65.29, 311.01°)
OKLaboklab(33.23% 0.0696 -0.1412)
OKLCHoklch(33.23% 0.157 296.2)
XYZxyz(6.0043, 3.0540, 19.0082)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41147B #4E7B14
analogous
#141A7B #41147B #74147B
triadic
#41147B #7B4114 #147B41
tetradic
#41147B #7B141A #4E7B14 #147B74
square
#41147B #7B141A #4E7B14 #147B74
split-complementary
#41147B #7B7414 #1A7B14
monochromatic
#0E041A #250B46 #41147B #5D1DB0 #7A2DDD

Accessibility & contrast

On white

13.04
#41147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#41147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41147B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41147B#FFFFFF#000000##FFFFFF
##41147B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#313248
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41147b;
/* rgb */ color: rgb(65, 20, 123);
/* oklch */ color: oklch(33.2% 0.157 296.2);
Tailwind
colors: {
  custom: {
    50: '#7c58a2',
    500: '#41147b',
    950: '#000000',
  },
}
SCSS
$custom: #41147b;
$custom-light: #7c58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#41147b",
  "rgb": {
    "r": 65,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 266.214,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33226,
    "c": 0.15744,
    "h": 296.2
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#41147B
secondary
#7DB13A
accent
#EF399F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41147B

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

Preview Lab → · Contrast checker → · Palette generator →

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