#41228F#41228F

#41228F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.166 H 288.3°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#41228F
RGBrgb(65, 34, 143)
HSLhsl(257, 62%, 35%)
HSVhsv(257, 76%, 56%)
CMYKcmyk(54.5%, 76.2%, 0%, 43.9%)
CIE-LABlab(24.48, 41.93, -54.91)
CIE-LCHlch(24.48, 69.09, 307.37°)
OKLaboklab(36.77% 0.0523 -0.1579)
OKLCHoklch(36.77% 0.166 288.3)
XYZxyz(7.7085, 4.2507, 26.3956)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41228F #708F22
analogous
#223A8F #41228F #78228F
triadic
#41228F #8F4122 #228F41
tetradic
#41228F #8F223A #708F22 #228F78
square
#41228F #8F223A #708F22 #228F78
split-complementary
#41228F #8F7822 #3A8F22
monochromatic
#140A2C #2B165E #41228F #572EC0 #7A55D7

Accessibility & contrast

On white

11.35
#41228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#41228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41228F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41228F#FFFFFF#000000##FFFFFF
##41228F1.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)
#003C92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#224057
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41228f;
/* rgb */ color: rgb(65, 34, 143);
/* oklch */ color: oklch(36.8% 0.166 288.3);
Tailwind
colors: {
  custom: {
    50: '#7f61b1',
    500: '#41228f',
    950: '#000000',
  },
}
SCSS
$custom: #41228f;
$custom-light: #7f61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#41228f",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 257.064,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36771,
    "c": 0.16632,
    "h": 288.3
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#41228F
secondary
#9DBA52
accent
#E543B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #41228F

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

Preview Lab → · Contrast checker → · Palette generator →

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