#41167A#41167A

#41167A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.154 H 296.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#41167A
RGBrgb(65, 22, 122)
HSLhsl(266, 69%, 28%)
HSVhsv(266, 82%, 48%)
CMYKcmyk(46.7%, 82%, 0%, 52.2%)
CIE-LABlab(20.45, 41.74, -48.31)
CIE-LCHlch(20.45, 63.84, 310.83°)
OKLaboklab(33.33% 0.0684 -0.1384)
OKLCHoklch(33.33% 0.154 296.3)
XYZxyz(5.9788, 3.1026, 18.6924)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41167A #4F7A16
analogous
#161D7A #41167A #73167A
triadic
#41167A #7A4116 #167A41
tetradic
#41167A #7A161D #4F7A16 #167A73
square
#41167A #7A161D #4F7A16 #167A73
split-complementary
#41167A #7A7316 #1D7A16
monochromatic
#0E051A #250D46 #41167A #5D1FAE #7931DA

Accessibility & contrast

On white

12.96
#41167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#41167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41167A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41167A#FFFFFF#000000##FFFFFF
##41167A1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#313248
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41167a;
/* rgb */ color: rgb(65, 22, 122);
/* oklch */ color: oklch(33.3% 0.154 296.3);
Tailwind
colors: {
  custom: {
    50: '#7c59a1',
    500: '#41167a',
    950: '#000000',
  },
}
SCSS
$custom: #41167a;
$custom-light: #7c59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#41167a",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 265.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33329,
    "c": 0.15442,
    "h": 296.3
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#41167A
secondary
#7EAF3D
accent
#EC3CA0
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41167A

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

Preview Lab → · Contrast checker → · Palette generator →

#41167A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva