#41238C#41238C

#41238C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.162 H 288.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#41238C
RGBrgb(65, 35, 140)
HSLhsl(257, 60%, 34%)
HSVhsv(257, 75%, 55%)
CMYKcmyk(53.6%, 75%, 0%, 45.1%)
CIE-LABlab(24.38, 40.52, -53.21)
CIE-LCHlch(24.38, 66.88, 307.29°)
OKLaboklab(36.61% 0.0522 -0.1529)
OKLCHoklch(36.61% 0.162 288.9)
XYZxyz(7.5132, 4.2190, 25.2243)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41238C #6E8C23
analogous
#233A8C #41238C #76238C
triadic
#41238C #8C4123 #238C41
tetradic
#41238C #8C233A #6E8C23 #238C76
square
#41238C #8C233A #6E8C23 #238C76
split-complementary
#41238C #8C7623 #3A8C23
monochromatic
#140B2A #2A175B #41238C #582FBD #7955D4

Accessibility & contrast

On white

11.39
#41238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#41238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41238C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41238C#FFFFFF#000000##FFFFFF
##41238C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#253F55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41238c;
/* rgb */ color: rgb(65, 35, 140);
/* oklch */ color: oklch(36.6% 0.162 288.9);
Tailwind
colors: {
  custom: {
    50: '#7e61af',
    500: '#41238c',
    950: '#000000',
  },
}
SCSS
$custom: #41238c;
$custom-light: #7e61af;
$custom-dark: #000000;
JSON
{
  "hex": "#41238c",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 257.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36612,
    "c": 0.16158,
    "h": 288.9
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#41238C
secondary
#9BB852
accent
#E345B6
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41238C

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

Preview Lab → · Contrast checker → · Palette generator →

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