#41228D#41228D

#41228D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.164 H 288.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#41228D
RGBrgb(65, 34, 141)
HSLhsl(257, 61%, 34%)
HSVhsv(257, 76%, 55%)
CMYKcmyk(53.9%, 75.9%, 0%, 44.7%)
CIE-LABlab(24.29, 41.34, -53.98)
CIE-LCHlch(24.29, 67.99, 307.45°)
OKLaboklab(36.58% 0.0528 -0.1552)
OKLCHoklch(36.58% 0.164 288.8)
XYZxyz(7.5583, 4.1906, 25.6047)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41228D #6E8D22
analogous
#22398D #41228D #77228D
triadic
#41228D #8D4122 #228D41
tetradic
#41228D #8D2239 #6E8D22 #228D77
square
#41228D #8D2239 #6E8D22 #228D77
split-complementary
#41228D #8D7722 #398D22
monochromatic
#140A2A #2A165C #41228D #582EBE #7954D6

Accessibility & contrast

On white

11.42
#41228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#41228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41228D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41228D#FFFFFF#000000##FFFFFF
##41228D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #41228d;
/* rgb */ color: rgb(65, 34, 141);
/* oklch */ color: oklch(36.6% 0.164 288.8);
Tailwind
colors: {
  custom: {
    50: '#7e61af',
    500: '#41228d',
    950: '#000000',
  },
}
SCSS
$custom: #41228d;
$custom-light: #7e61af;
$custom-dark: #000000;
JSON
{
  "hex": "#41228d",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 257.383,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36577,
    "c": 0.16391,
    "h": 288.8
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#41228D
secondary
#9BB951
accent
#E444B6
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41228D

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

Preview Lab → · Contrast checker → · Palette generator →

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