#41287B#41287B

#41287B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.134 H 292.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#41287B
RGBrgb(65, 40, 123)
HSLhsl(258, 51%, 32%)
HSVhsv(258, 67%, 48%)
CMYKcmyk(47.2%, 67.5%, 0%, 51.8%)
CIE-LABlab(23.91, 32.60, -43.31)
CIE-LCHlch(23.91, 54.20, 306.97°)
OKLaboklab(35.81% 0.0504 -0.1239)
OKLCHoklch(35.81% 0.134 292.1)
XYZxyz(6.5129, 4.0713, 19.1777)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41287B #627B28
analogous
#28397B #41287B #6B287B
triadic
#41287B #7B4128 #287B41
tetradic
#41287B #7B2839 #627B28 #287B6B
square
#41287B #7B2839 #627B28 #287B6B
split-complementary
#41287B #7B6B28 #397B28
monochromatic
#100A1F #29194D #41287B #5937A9 #7856C8

Accessibility & contrast

On white

11.58
#41287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#41287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41287B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41287B#FFFFFF#000000##FFFFFF
##41287B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#303C4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41287b;
/* rgb */ color: rgb(65, 40, 123);
/* oklch */ color: oklch(35.8% 0.134 292.1);
Tailwind
colors: {
  custom: {
    50: '#7b63a2',
    500: '#41287b',
    950: '#000000',
  },
}
SCSS
$custom: #41287b;
$custom-light: #7b63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#41287b",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 258.072,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35808,
    "c": 0.13371,
    "h": 292.1
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#41287B
secondary
#91AD52
accent
#DA4DB0
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41287B

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

Preview Lab → · Contrast checker → · Palette generator →

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