#41167D#41167D

#41167D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.158 H 295.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#41167D
RGBrgb(65, 22, 125)
HSLhsl(265, 70%, 29%)
HSVhsv(265, 82%, 49%)
CMYKcmyk(48%, 82.4%, 0%, 51%)
CIE-LABlab(20.74, 42.55, -49.74)
CIE-LCHlch(20.74, 65.45, 310.54°)
OKLaboklab(33.62% 0.0674 -0.1426)
OKLCHoklch(33.62% 0.158 295.3)
XYZxyz(6.1676, 3.1781, 19.6865)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41167D #527D16
analogous
#161E7D #41167D #75167D
triadic
#41167D #7D4116 #167D41
tetradic
#41167D #7D161E #527D16 #167D75
square
#41167D #7D161E #527D16 #167D75
split-complementary
#41167D #7D7516 #1E7D16
monochromatic
#0E051A #260D49 #41167D #5C1FB1 #7932DB

Accessibility & contrast

On white

12.84
#41167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#41167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41167D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41167D#FFFFFF#000000##FFFFFF
##41167D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#30334A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41167d;
/* rgb */ color: rgb(65, 22, 125);
/* oklch */ color: oklch(33.6% 0.158 295.3);
Tailwind
colors: {
  custom: {
    50: '#7d59a4',
    500: '#41167d',
    950: '#000000',
  },
}
SCSS
$custom: #41167d;
$custom-light: #7d59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#41167d",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 265.049,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33622,
    "c": 0.15776,
    "h": 295.3
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#41167D
secondary
#81B23D
accent
#ED3BA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41167D

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

Preview Lab → · Contrast checker → · Palette generator →

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