#41239E#41239E

#41239E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.183 H 285.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#41239E
RGBrgb(65, 35, 158)
HSLhsl(255, 64%, 38%)
HSVhsv(255, 78%, 62%)
CMYKcmyk(58.9%, 77.8%, 0%, 38%)
CIE-LABlab(26.14, 45.84, -61.41)
CIE-LCHlch(26.14, 76.63, 306.74°)
OKLaboklab(38.38% 0.0474 -0.1769)
OKLCHoklch(38.38% 0.183 285)
XYZxyz(8.9507, 4.7940, 32.7948)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41239E #809E23
analogous
#23429E #41239E #7E239E
triadic
#41239E #9E4123 #239E41
tetradic
#41239E #9E2342 #809E23 #239E7E
square
#41239E #9E2342 #809E23 #239E7E
split-complementary
#41239E #9E7E23 #429E23
monochromatic
#180D3A #2C186C #41239E #562ED0 #7E60DC

Accessibility & contrast

On white

10.72
#41239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#41239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41239E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41239E#FFFFFF#000000##FFFFFF
##41239E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#0D4660
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41239e;
/* rgb */ color: rgb(65, 35, 158);
/* oklch */ color: oklch(38.4% 0.183 285.0);
Tailwind
colors: {
  custom: {
    50: '#8162bc',
    500: '#41239e',
    950: '#000000',
  },
}
SCSS
$custom: #41239e;
$custom-light: #8162bc;
$custom-dark: #000000;
JSON
{
  "hex": "#41239e",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 254.634,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3838,
    "c": 0.18315,
    "h": 285
  },
  "luminance": 0.04795
}

Semantic roles & 50–950 ramp

primary
#41239E
secondary
#A8C15C
accent
#E741BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #41239E

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

Preview Lab → · Contrast checker → · Palette generator →

#41239E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva