#41137E#41137E

#41137E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.162 H 295.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#41137E
RGBrgb(65, 19, 126)
HSLhsl(266, 74%, 28%)
HSVhsv(266, 85%, 49%)
CMYKcmyk(48.4%, 84.9%, 0%, 50.6%)
CIE-LABlab(20.42, 44.03, -50.90)
CIE-LCHlch(20.42, 67.31, 310.86°)
OKLaboklab(33.43% 0.0693 -0.146)
OKLCHoklch(33.43% 0.162 295.4)
XYZxyz(6.1777, 3.0958, 20.0067)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41137E #507E13
analogous
#131B7E #41137E #76137E
triadic
#41137E #7E4113 #137E41
tetradic
#41137E #7E131B #507E13 #137E76
square
#41137E #7E131B #507E13 #137E76
split-complementary
#41137E #7E7613 #1B7E13
monochromatic
#0E041B #260B49 #41137E #5C1BB3 #792CDF

Accessibility & contrast

On white

12.97
#41137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#41137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41137E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41137E#FFFFFF#000000##FFFFFF
##41137E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#2F334A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41137e;
/* rgb */ color: rgb(65, 19, 126);
/* oklch */ color: oklch(33.4% 0.162 295.4);
Tailwind
colors: {
  custom: {
    50: '#7d58a4',
    500: '#41137e',
    950: '#000000',
  },
}
SCSS
$custom: #41137e;
$custom-light: #7d58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#41137e",
  "rgb": {
    "r": 65,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 265.794,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33431,
    "c": 0.16161,
    "h": 295.4
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#41137E
secondary
#7FB439
accent
#F037A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41137E

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

Preview Lab → · Contrast checker → · Palette generator →

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