#41286F#41286F

#41286F is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.8% C 0.118 H 295.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#41286F
RGBrgb(65, 40, 111)
HSLhsl(261, 47%, 30%)
HSVhsv(261, 64%, 44%)
CMYKcmyk(41.4%, 64%, 0%, 56.5%)
CIE-LABlab(22.96, 29.00, -37.17)
CIE-LCHlch(22.96, 47.14, 307.96°)
OKLaboklab(34.82% 0.0514 -0.1058)
OKLCHoklch(34.82% 0.118 295.9)
XYZxyz(5.8073, 3.7890, 15.4612)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41286F #566F28
analogous
#28326F #41286F #65286F
triadic
#41286F #6F4128 #286F41
tetradic
#41286F #6F2832 #566F28 #286F65
square
#41286F #6F2832 #566F28 #286F65
split-complementary
#41286F #6F6528 #326F28
monochromatic
#0D0816 #271842 #41286F #5B389C #7851C0

Accessibility & contrast

On white

11.95
#41286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#41286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41286F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41286F#FFFFFF#000000##FFFFFF
##41286F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#05366D
Tritanopia (blue-blind)
#363847
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41286f;
/* rgb */ color: rgb(65, 40, 111);
/* oklch */ color: oklch(34.8% 0.118 295.9);
Tailwind
colors: {
  custom: {
    50: '#796399',
    500: '#41286f',
    950: '#000000',
  },
}
SCSS
$custom: #41286f;
$custom-light: #796399;
$custom-dark: #000000;
JSON
{
  "hex": "#41286f",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 261.127,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34824,
    "c": 0.11764,
    "h": 295.9
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

primary
#41286F
secondary
#85A151
accent
#D751A8
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #41286F

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

Preview Lab → · Contrast checker → · Palette generator →

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