#41238B#41238B

#41238B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.160 H 289.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#41238B
RGBrgb(65, 35, 139)
HSLhsl(257, 60%, 34%)
HSVhsv(257, 75%, 55%)
CMYKcmyk(53.2%, 74.8%, 0%, 45.5%)
CIE-LABlab(24.29, 40.23, -52.74)
CIE-LCHlch(24.29, 66.33, 307.33°)
OKLaboklab(36.52% 0.0525 -0.1515)
OKLCHoklch(36.52% 0.16 289.1)
XYZxyz(7.4398, 4.1896, 24.8378)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41238B #6D8B23
analogous
#23398B #41238B #75238B
triadic
#41238B #8B4123 #238B41
tetradic
#41238B #8B2339 #6D8B23 #238B75
square
#41238B #8B2339 #6D8B23 #238B75
split-complementary
#41238B #8B7523 #398B23
monochromatic
#130A29 #2A175A #41238B #582FBC #7954D4

Accessibility & contrast

On white

11.43
#41238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41238B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41238B#FFFFFF#000000##FFFFFF
##41238B1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#253F55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41238b;
/* rgb */ color: rgb(65, 35, 139);
/* oklch */ color: oklch(36.5% 0.160 289.1);
Tailwind
colors: {
  custom: {
    50: '#7e61ae',
    500: '#41238b',
    950: '#000000',
  },
}
SCSS
$custom: #41238b;
$custom-light: #7e61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#41238b",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 257.308,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.16037,
    "h": 289.1
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#41238B
secondary
#9BB852
accent
#E345B5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41238B

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

Preview Lab → · Contrast checker → · Palette generator →

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