#41165A#41165A

#41165A is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.5% C 0.118 H 310.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#41165A
RGBrgb(65, 22, 90)
HSLhsl(278, 61%, 22%)
HSVhsv(278, 76%, 35%)
CMYKcmyk(27.8%, 75.6%, 0%, 64.7%)
CIE-LABlab(17.63, 33.39, -32.00)
CIE-LCHlch(17.63, 46.25, 316.22°)
OKLaboklab(30.46% 0.0763 -0.0905)
OKLCHoklch(30.46% 0.118 310.1)
XYZxyz(4.3120, 2.4359, 9.9139)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41165A #2F5A16
analogous
#1F165A #41165A #5A1651
triadic
#41165A #5A4116 #165A41
tetradic
#41165A #5A1F16 #2F5A16 #16515A
square
#41165A #5A1F16 #2F5A16 #16515A
split-complementary
#41165A #515A16 #165A1F
monochromatic
#120619 #1D0A29 #41165A #65228B #882EBC

Accessibility & contrast

On white

14.12
#41165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#41165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41165A
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41165A#FFFFFF#000000##FFFFFF
##41165A1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#0A2C59
Tritanopia (blue-blind)
#3E2536
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #41165a;
/* rgb */ color: rgb(65, 22, 90);
/* oklch */ color: oklch(30.5% 0.118 310.1);
Tailwind
colors: {
  custom: {
    50: '#795789',
    500: '#41165a',
    950: '#000000',
  },
}
SCSS
$custom: #41165a;
$custom-light: #795789;
$custom-dark: #000000;
JSON
{
  "hex": "#41165a",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 277.941,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30463,
    "c": 0.11839,
    "h": 310.1
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#41165A
secondary
#5A913B
accent
#E4447F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #41165A

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

Preview Lab → · Contrast checker → · Palette generator →

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