#41187B#41187B

#41187B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.154 H 295.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#41187B
RGBrgb(65, 24, 123)
HSLhsl(265, 67%, 29%)
HSVhsv(265, 80%, 48%)
CMYKcmyk(47.2%, 80.5%, 0%, 51.8%)
CIE-LABlab(20.85, 41.12, -48.29)
CIE-LCHlch(20.85, 63.42, 310.42°)
OKLaboklab(33.64% 0.0664 -0.1384)
OKLCHoklch(33.64% 0.154 295.6)
XYZxyz(6.0808, 3.2070, 19.0337)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41187B #527B18
analogous
#18217B #41187B #73187B
triadic
#41187B #7B4118 #187B41
tetradic
#41187B #7B1821 #527B18 #187B73
square
#41187B #7B1821 #527B18 #187B73
split-complementary
#41187B #7B7318 #217B18
monochromatic
#0E051A #260E48 #41187B #5C22AE #7936D8

Accessibility & contrast

On white

12.79
#41187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#41187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41187B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41187B#FFFFFF#000000##FFFFFF
##41187B1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#313349
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41187b;
/* rgb */ color: rgb(65, 24, 123);
/* oklch */ color: oklch(33.6% 0.154 295.6);
Tailwind
colors: {
  custom: {
    50: '#7c5aa2',
    500: '#41187b',
    950: '#000000',
  },
}
SCSS
$custom: #41187b;
$custom-light: #7c5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#41187b",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 264.848,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3364,
    "c": 0.15352,
    "h": 295.6
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#41187B
secondary
#81B03F
accent
#EA3EA3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41187B

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

Preview Lab → · Contrast checker → · Palette generator →

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