#41286A#41286A

#41286A is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.4% C 0.111 H 297.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#41286A
RGBrgb(65, 40, 106)
HSLhsl(263, 45%, 29%)
HSVhsv(263, 62%, 42%)
CMYKcmyk(38.7%, 62.3%, 0%, 58.4%)
CIE-LABlab(22.59, 27.52, -34.53)
CIE-LCHlch(22.59, 44.16, 308.55°)
OKLaboklab(34.44% 0.0516 -0.0981)
OKLCHoklch(34.44% 0.111 297.8)
XYZxyz(5.5396, 3.6819, 14.0517)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41286A #516A28
analogous
#28306A #41286A #62286A
triadic
#41286A #6A4128 #286A41
tetradic
#41286A #6A2830 #516A28 #286A62
square
#41286A #6A2830 #516A28 #286A62
split-complementary
#41286A #6A6228 #306A28
monochromatic
#0E0816 #26173E #41286A #5C3996 #7950BD

Accessibility & contrast

On white

12.09
#41286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#41286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41286A
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41286A#FFFFFF#000000##FFFFFF
##41286A1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03366C
Deuteranopia (green-blind)
#0F3569
Tritanopia (blue-blind)
#383645
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41286a;
/* rgb */ color: rgb(65, 40, 106);
/* oklch */ color: oklch(34.4% 0.111 297.8);
Tailwind
colors: {
  custom: {
    50: '#796395',
    500: '#41286a',
    950: '#000000',
  },
}
SCSS
$custom: #41286a;
$custom-light: #796395;
$custom-dark: #000000;
JSON
{
  "hex": "#41286a",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 262.727,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.11082,
    "h": 297.8
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#41286A
secondary
#809D51
accent
#D553A4
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41286A

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

Preview Lab → · Contrast checker → · Palette generator →

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