#41137F#41137F

#41137F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.163 H 295.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#41137F
RGBrgb(65, 19, 127)
HSLhsl(266, 74%, 29%)
HSVhsv(266, 85%, 50%)
CMYKcmyk(48.8%, 85%, 0%, 50.2%)
CIE-LABlab(20.52, 44.30, -51.37)
CIE-LCHlch(20.52, 67.83, 310.77°)
OKLaboklab(33.53% 0.0689 -0.1474)
OKLCHoklch(33.53% 0.163 295.1)
XYZxyz(6.2426, 3.1217, 20.3482)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41137F #517F13
analogous
#131B7F #41137F #77137F
triadic
#41137F #7F4113 #137F41
tetradic
#41137F #7F131B #517F13 #137F77
square
#41137F #7F131B #517F13 #137F77
split-complementary
#41137F #7F7713 #1B7F13
monochromatic
#0E041B #260B4A #41137F #5C1BB4 #792DE0

Accessibility & contrast

On white

12.93
#41137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41137F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41137F#FFFFFF#000000##FFFFFF
##41137F1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #41137f;
/* rgb */ color: rgb(65, 19, 127);
/* oklch */ color: oklch(33.5% 0.163 295.1);
Tailwind
colors: {
  custom: {
    50: '#7d58a5',
    500: '#41137f',
    950: '#000000',
  },
}
SCSS
$custom: #41137f;
$custom-light: #7d58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41137f",
  "rgb": {
    "r": 65,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 265.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33531,
    "c": 0.16269,
    "h": 295.1
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#41137F
secondary
#80B439
accent
#F137A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #41137F

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

Preview Lab → · Contrast checker → · Palette generator →

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