#41238D#41238D

#41238D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.163 H 288.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#41238D
RGBrgb(65, 35, 141)
HSLhsl(257, 60%, 35%)
HSVhsv(257, 75%, 55%)
CMYKcmyk(53.9%, 75.2%, 0%, 44.7%)
CIE-LABlab(24.48, 40.82, -53.68)
CIE-LCHlch(24.48, 67.43, 307.25°)
OKLaboklab(36.71% 0.052 -0.1543)
OKLCHoklch(36.71% 0.163 288.6)
XYZxyz(7.5873, 4.2486, 25.6144)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41238D #6F8D23
analogous
#233A8D #41238D #76238D
triadic
#41238D #8D4123 #238D41
tetradic
#41238D #8D233A #6F8D23 #238D76
square
#41238D #8D233A #6F8D23 #238D76
split-complementary
#41238D #8D7623 #3A8D23
monochromatic
#140B2B #2A175C #41238D #582FBE #7A55D5

Accessibility & contrast

On white

11.35
#41238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#41238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41238D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41238D#FFFFFF#000000##FFFFFF
##41238D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#244056
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41238d;
/* rgb */ color: rgb(65, 35, 141);
/* oklch */ color: oklch(36.7% 0.163 288.6);
Tailwind
colors: {
  custom: {
    50: '#7e61af',
    500: '#41238d',
    950: '#000000',
  },
}
SCSS
$custom: #41238d;
$custom-light: #7e61af;
$custom-dark: #000000;
JSON
{
  "hex": "#41238d",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 256.981,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36708,
    "c": 0.1628,
    "h": 288.6
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#41238D
secondary
#9CB953
accent
#E344B6
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41238D

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

Preview Lab → · Contrast checker → · Palette generator →

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