#41168F#41168F

#41168F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.178 H 290.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#41168F
RGBrgb(65, 22, 143)
HSLhsl(261, 73%, 32%)
HSVhsv(261, 85%, 56%)
CMYKcmyk(54.5%, 84.6%, 0%, 43.9%)
CIE-LABlab(22.59, 47.41, -58.03)
CIE-LCHlch(22.59, 74.93, 309.25°)
OKLaboklab(35.45% 0.0609 -0.1669)
OKLCHoklch(35.45% 0.178 290.1)
XYZxyz(7.4234, 3.6805, 26.3005)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41168F #648F16
analogous
#16288F #41168F #7D168F
triadic
#41168F #8F4116 #168F41
tetradic
#41168F #8F1628 #648F16 #168F7D
square
#41168F #8F1628 #648F16 #168F7D
split-complementary
#41168F #8F7D16 #288F16
monochromatic
#110625 #290E5A #41168F #591EC4 #783EE1

Accessibility & contrast

On white

12.10
#41168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#41168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41168F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41168F#FFFFFF#000000##FFFFFF
##41168F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#233B54
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41168f;
/* rgb */ color: rgb(65, 22, 143);
/* oklch */ color: oklch(35.4% 0.178 290.1);
Tailwind
colors: {
  custom: {
    50: '#7f5bb1',
    500: '#41168f',
    950: '#000000',
  },
}
SCSS
$custom: #41168f;
$custom-light: #7f5bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#41168f",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 261.322,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3545,
    "c": 0.17766,
    "h": 290.1
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#41168F
secondary
#93C13F
accent
#F038AF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #41168F

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

Preview Lab → · Contrast checker → · Palette generator →

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