#41286B#41286B

#41286B is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.5% C 0.112 H 297.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#41286B
RGBrgb(65, 40, 107)
HSLhsl(262, 46%, 29%)
HSVhsv(262, 63%, 42%)
CMYKcmyk(39.3%, 62.6%, 0%, 58%)
CIE-LABlab(22.66, 27.81, -35.06)
CIE-LCHlch(22.66, 44.75, 308.42°)
OKLaboklab(34.51% 0.0516 -0.0996)
OKLCHoklch(34.51% 0.112 297.4)
XYZxyz(5.5919, 3.7029, 14.3272)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41286B #526B28
analogous
#28316B #41286B #63286B
triadic
#41286B #6B4128 #286B41
tetradic
#41286B #6B2831 #526B28 #286B63
square
#41286B #6B2831 #526B28 #286B63
split-complementary
#41286B #6B6328 #316B28
monochromatic
#0E0816 #26173E #41286B #5C3998 #7950BE

Accessibility & contrast

On white

12.06
#41286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41286B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41286B#FFFFFF#000000##FFFFFF
##41286B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366D
Deuteranopia (green-blind)
#0D356A
Tritanopia (blue-blind)
#373645
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41286b;
/* rgb */ color: rgb(65, 40, 107);
/* oklch */ color: oklch(34.5% 0.112 297.4);
Tailwind
colors: {
  custom: {
    50: '#796396',
    500: '#41286b',
    950: '#000000',
  },
}
SCSS
$custom: #41286b;
$custom-light: #796396;
$custom-dark: #000000;
JSON
{
  "hex": "#41286b",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 262.388,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34512,
    "c": 0.11219,
    "h": 297.4
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #41286B

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

Preview Lab → · Contrast checker → · Palette generator →

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