#41188F#41188F

#41188F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.176 H 289.8°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#41188F
RGBrgb(65, 24, 143)
HSLhsl(261, 71%, 33%)
HSVhsv(261, 83%, 56%)
CMYKcmyk(54.5%, 83.2%, 0%, 43.9%)
CIE-LABlab(22.86, 46.60, -57.57)
CIE-LCHlch(22.86, 74.07, 308.99°)
OKLaboklab(35.64% 0.0597 -0.1656)
OKLCHoklch(35.64% 0.176 289.8)
XYZxyz(7.4631, 3.7599, 26.3138)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41188F #668F18
analogous
#182B8F #41188F #7C188F
triadic
#41188F #8F4118 #188F41
tetradic
#41188F #8F182B #668F18 #188F7C
square
#41188F #8F182B #668F18 #188F7C
split-complementary
#41188F #8F7C18 #2B8F18
monochromatic
#110626 #290F5B #41188F #5921C3 #7842DF

Accessibility & contrast

On white

11.99
#41188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#41188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41188F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41188F#FFFFFF#000000##FFFFFF
##41188F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#233C55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #41188f;
/* rgb */ color: rgb(65, 24, 143);
/* oklch */ color: oklch(35.6% 0.176 289.8);
Tailwind
colors: {
  custom: {
    50: '#7f5bb1',
    500: '#41188f',
    950: '#000000',
  },
}
SCSS
$custom: #41188f;
$custom-light: #7f5bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#41188f",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 260.672,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3564,
    "c": 0.17602,
    "h": 289.8
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#41188F
secondary
#95C043
accent
#EE3AB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #41188F

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

Preview Lab → · Contrast checker → · Palette generator →

#41188F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva