#41238E#41238E

#41238E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.164 H 288.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#41238E
RGBrgb(65, 35, 142)
HSLhsl(257, 60%, 35%)
HSVhsv(257, 75%, 56%)
CMYKcmyk(54.2%, 75.4%, 0%, 44.3%)
CIE-LABlab(24.57, 41.12, -54.14)
CIE-LCHlch(24.57, 67.98, 307.21°)
OKLaboklab(36.8% 0.0517 -0.1556)
OKLCHoklch(36.8% 0.164 288.4)
XYZxyz(7.6621, 4.2785, 26.0080)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41238E #708E23
analogous
#233B8E #41238E #76238E
triadic
#41238E #8E4123 #238E41
tetradic
#41238E #8E233B #708E23 #238E76
square
#41238E #8E233B #708E23 #238E76
split-complementary
#41238E #8E7623 #3B8E23
monochromatic
#140B2C #2B175D #41238E #572FBF #7A56D5

Accessibility & contrast

On white

11.32
#41238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#41238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41238E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41238E#FFFFFF#000000##FFFFFF
##41238E1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#234056
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41238e;
/* rgb */ color: rgb(65, 35, 142);
/* oklch */ color: oklch(36.8% 0.164 288.4);
Tailwind
colors: {
  custom: {
    50: '#7e61b0',
    500: '#41238e',
    950: '#000000',
  },
}
SCSS
$custom: #41238e;
$custom-light: #7e61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#41238e",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 256.822,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36804,
    "c": 0.16402,
    "h": 288.4
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#41238E
secondary
#9DB953
accent
#E444B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #41238E

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

Preview Lab → · Contrast checker → · Palette generator →

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