#41126C#41126C

#41126C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.143 H 302.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#41126C
RGBrgb(65, 18, 108)
HSLhsl(271, 71%, 25%)
HSVhsv(271, 83%, 42%)
CMYKcmyk(39.8%, 83.3%, 0%, 57.6%)
CIE-LABlab(18.54, 39.75, -42.41)
CIE-LCHlch(18.54, 58.13, 313.15°)
OKLaboklab(31.59% 0.0762 -0.1211)
OKLCHoklch(31.59% 0.143 302.2)
XYZxyz(5.1024, 2.6391, 14.4250)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41126C #3D6C12
analogous
#14126C #41126C #6C126A
triadic
#41126C #6C4112 #126C41
tetradic
#41126C #6C1412 #3D6C12 #126A6C
square
#41126C #6C1412 #3D6C12 #126A6C
split-complementary
#41126C #6A6C12 #126C14
monochromatic
#10041A #210938 #41126C #611BA0 #8023D5

Accessibility & contrast

On white

13.75
#41126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#41126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41126C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41126C#FFFFFF#000000##FFFFFF
##41126C1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#382A3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #41126c;
/* rgb */ color: rgb(65, 18, 108);
/* oklch */ color: oklch(31.6% 0.143 302.2);
Tailwind
colors: {
  custom: {
    50: '#7b5697',
    500: '#41126c',
    950: '#000000',
  },
}
SCSS
$custom: #41126c;
$custom-light: #7b5697;
$custom-dark: #000000;
JSON
{
  "hex": "#41126c",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 271.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31587,
    "c": 0.14308,
    "h": 302.2
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#41126C
secondary
#6AA336
accent
#EE3A90
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #41126C

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

Preview Lab → · Contrast checker → · Palette generator →

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