#41167F#41167F

#41167F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.160 H 294.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#41167F
RGBrgb(65, 22, 127)
HSLhsl(265, 70%, 29%)
HSVhsv(265, 83%, 50%)
CMYKcmyk(48.8%, 82.7%, 0%, 50.2%)
CIE-LABlab(20.94, 43.08, -50.69)
CIE-LCHlch(20.94, 66.52, 310.36°)
OKLaboklab(33.82% 0.0667 -0.1454)
OKLCHoklch(33.82% 0.16 294.6)
XYZxyz(6.2966, 3.2298, 20.3662)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41167F #547F16
analogous
#16207F #41167F #76167F
triadic
#41167F #7F4116 #167F41
tetradic
#41167F #7F1620 #547F16 #167F76
square
#41167F #7F1620 #547F16 #167F76
split-complementary
#41167F #7F7616 #207F16
monochromatic
#0D051A #260D4B #41167F #5C1FB3 #7834DC

Accessibility & contrast

On white

12.76
#41167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#41167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41167F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41167F#FFFFFF#000000##FFFFFF
##41167F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#2E344B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41167f;
/* rgb */ color: rgb(65, 22, 127);
/* oklch */ color: oklch(33.8% 0.160 294.6);
Tailwind
colors: {
  custom: {
    50: '#7d59a5',
    500: '#41167f',
    950: '#000000',
  },
}
SCSS
$custom: #41167f;
$custom-light: #7d59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41167f",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 264.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33819,
    "c": 0.16,
    "h": 294.6
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#41167F
secondary
#83B43D
accent
#ED3BA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41167F

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

Preview Lab → · Contrast checker → · Palette generator →

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