#41287A#41287A

#41287A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.132 H 292.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#41287A
RGBrgb(65, 40, 122)
HSLhsl(258, 51%, 32%)
HSVhsv(258, 67%, 48%)
CMYKcmyk(46.7%, 67.2%, 0%, 52.2%)
CIE-LABlab(23.82, 32.30, -42.80)
CIE-LCHlch(23.82, 53.62, 307.03°)
OKLaboklab(35.72% 0.0505 -0.1224)
OKLCHoklch(35.72% 0.132 292.4)
XYZxyz(6.4506, 4.0463, 18.8497)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41287A #617A28
analogous
#28387A #41287A #6A287A
triadic
#41287A #7A4128 #287A41
tetradic
#41287A #7A2838 #617A28 #287A6A
square
#41287A #7A2838 #617A28 #287A6A
split-complementary
#41287A #7A6A28 #387A28
monochromatic
#100A1E #28194C #41287A #5A37A8 #7855C7

Accessibility & contrast

On white

11.61
#41287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41287A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41287A#FFFFFF#000000##FFFFFF
##41287A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#303B4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41287a;
/* rgb */ color: rgb(65, 40, 122);
/* oklch */ color: oklch(35.7% 0.132 292.4);
Tailwind
colors: {
  custom: {
    50: '#7b63a1',
    500: '#41287a',
    950: '#000000',
  },
}
SCSS
$custom: #41287a;
$custom-light: #7b63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#41287a",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 258.293,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.13239,
    "h": 292.4
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#41287A
secondary
#90AC52
accent
#DA4EAF
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41287A

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

Preview Lab → · Contrast checker → · Palette generator →

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