#41287D#41287D

#41287D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.136 H 291.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#41287D
RGBrgb(65, 40, 125)
HSLhsl(258, 52%, 32%)
HSVhsv(258, 68%, 49%)
CMYKcmyk(48%, 68%, 0%, 51%)
CIE-LABlab(24.07, 33.20, -44.31)
CIE-LCHlch(24.07, 55.37, 306.85°)
OKLaboklab(35.98% 0.0501 -0.1268)
OKLCHoklch(35.98% 0.136 291.6)
XYZxyz(6.6394, 4.1218, 19.8438)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41287D #647D28
analogous
#283A7D #41287D #6C287D
triadic
#41287D #7D4128 #287D41
tetradic
#41287D #7D283A #647D28 #287D6C
square
#41287D #7D283A #647D28 #287D6C
split-complementary
#41287D #7D6C28 #3A7D28
monochromatic
#110A20 #29194F #41287D #5937AB #7856C9

Accessibility & contrast

On white

11.51
#41287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41287D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41287D#FFFFFF#000000##FFFFFF
##41287D1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#2F3C4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41287d;
/* rgb */ color: rgb(65, 40, 125);
/* oklch */ color: oklch(36.0% 0.136 291.6);
Tailwind
colors: {
  custom: {
    50: '#7b64a3',
    500: '#41287d',
    950: '#000000',
  },
}
SCSS
$custom: #41287d;
$custom-light: #7b64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41287d",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 257.647,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35978,
    "c": 0.13634,
    "h": 291.6
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#41287D
secondary
#93AE53
accent
#DB4DB1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41287D

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

Preview Lab → · Contrast checker → · Palette generator →

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