#41126F#41126F

#41126F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.146 H 301.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#41126F
RGBrgb(65, 18, 111)
HSLhsl(270, 72%, 25%)
HSVhsv(270, 84%, 44%)
CMYKcmyk(41.4%, 83.8%, 0%, 56.5%)
CIE-LABlab(18.82, 40.52, -43.90)
CIE-LCHlch(18.82, 59.75, 312.71°)
OKLaboklab(31.87% 0.0753 -0.1255)
OKLCHoklch(31.87% 0.146 301)
XYZxyz(5.2648, 2.7041, 15.2804)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41126F #406F12
analogous
#13126F #41126F #6F126E
triadic
#41126F #6F4112 #126F41
tetradic
#41126F #6F1312 #406F12 #126E6F
square
#41126F #6F1312 #406F12 #126E6F
split-complementary
#41126F #6E6F12 #126F13
monochromatic
#0F041A #22093A #41126F #601BA4 #7F23D8

Accessibility & contrast

On white

13.63
#41126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#41126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41126F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41126F#FFFFFF#000000##FFFFFF
##41126F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#362C41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #41126f;
/* rgb */ color: rgb(65, 18, 111);
/* oklch */ color: oklch(31.9% 0.146 301.0);
Tailwind
colors: {
  custom: {
    50: '#7b5799',
    500: '#41126f',
    950: '#000000',
  },
}
SCSS
$custom: #41126f;
$custom-light: #7b5799;
$custom-dark: #000000;
JSON
{
  "hex": "#41126f",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 270.323,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3187,
    "c": 0.14631,
    "h": 301
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#41126F
secondary
#6EA637
accent
#EF3993
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #41126F

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

Preview Lab → · Contrast checker → · Palette generator →

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