#41228E#41228E

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

Color values

HEX#41228E
RGBrgb(65, 34, 142)
HSLhsl(257, 61%, 35%)
HSVhsv(257, 76%, 56%)
CMYKcmyk(54.2%, 76.1%, 0%, 44.3%)
CIE-LABlab(24.39, 41.64, -54.44)
CIE-LCHlch(24.39, 68.54, 307.41°)
OKLaboklab(36.67% 0.0526 -0.1565)
OKLCHoklch(36.67% 0.165 288.6)
XYZxyz(7.6331, 4.2205, 25.9984)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41228E #6F8E22
analogous
#22398E #41228E #77228E
triadic
#41228E #8E4122 #228E41
tetradic
#41228E #8E2239 #6F8E22 #228E77
square
#41228E #8E2239 #6F8E22 #228E77
split-complementary
#41228E #8E7722 #398E22
monochromatic
#140A2B #2A165D #41228E #582EBF #7A54D6

Accessibility & contrast

On white

11.39
#41228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41228E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41228E#FFFFFF#000000##FFFFFF
##41228E1.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)
#003C91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#234056
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41228e;
/* rgb */ color: rgb(65, 34, 142);
/* oklch */ color: oklch(36.7% 0.165 288.6);
Tailwind
colors: {
  custom: {
    50: '#7e61b0',
    500: '#41228e',
    950: '#000000',
  },
}
SCSS
$custom: #41228e;
$custom-light: #7e61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#41228e",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 257.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36674,
    "c": 0.16512,
    "h": 288.6
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#41228E
secondary
#9CBA52
accent
#E443B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #41228E

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

Preview Lab → · Contrast checker → · Palette generator →

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