#41287C#41287C

#41287C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.135 H 291.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#41287C
RGBrgb(65, 40, 124)
HSLhsl(258, 51%, 32%)
HSVhsv(258, 68%, 49%)
CMYKcmyk(47.6%, 67.7%, 0%, 51.4%)
CIE-LABlab(23.99, 32.90, -43.81)
CIE-LCHlch(23.99, 54.79, 306.91°)
OKLaboklab(35.89% 0.0503 -0.1253)
OKLCHoklch(35.89% 0.135 291.8)
XYZxyz(6.5758, 4.0964, 19.5091)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41287C #637C28
analogous
#28397C #41287C #6B287C
triadic
#41287C #7C4128 #287C41
tetradic
#41287C #7C2839 #637C28 #287C6B
square
#41287C #7C2839 #637C28 #287C6B
split-complementary
#41287C #7C6B28 #397C28
monochromatic
#100A1F #29194E #41287C #5937AA #7856C8

Accessibility & contrast

On white

11.54
#41287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#41287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41287C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41287C#FFFFFF#000000##FFFFFF
##41287C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#2F3C4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41287c;
/* rgb */ color: rgb(65, 40, 124);
/* oklch */ color: oklch(35.9% 0.135 291.8);
Tailwind
colors: {
  custom: {
    50: '#7b63a3',
    500: '#41287c',
    950: '#000000',
  },
}
SCSS
$custom: #41287c;
$custom-light: #7b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41287c",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 257.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35893,
    "c": 0.13503,
    "h": 291.8
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#41287C
secondary
#92AD52
accent
#DB4DB1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41287C

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

Preview Lab → · Contrast checker → · Palette generator →

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