#41229F#41229F

#41229F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.185 H 285.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#41229F
RGBrgb(65, 34, 159)
HSLhsl(255, 65%, 38%)
HSVhsv(255, 79%, 62%)
CMYKcmyk(59.1%, 78.6%, 0%, 37.6%)
CIE-LABlab(26.07, 46.63, -62.13)
CIE-LCHlch(26.07, 77.68, 306.89°)
OKLaboklab(38.36% 0.0478 -0.179)
OKLCHoklch(38.36% 0.185 285)
XYZxyz(9.0081, 4.7705, 33.2403)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41229F #809F22
analogous
#22419F #41229F #7F229F
triadic
#41229F #9F4122 #229F41
tetradic
#41229F #9F2241 #809F22 #229F7F
square
#41229F #9F2241 #809F22 #229F7F
split-complementary
#41229F #9F7F22 #419F22
monochromatic
#180C3A #2C176D #41229F #562DD1 #7E5FDD

Accessibility & contrast

On white

10.75
#41229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#41229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41229F
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41229F#FFFFFF#000000##FFFFFF
##41229F1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#0A4660
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41229f;
/* rgb */ color: rgb(65, 34, 159);
/* oklch */ color: oklch(38.4% 0.185 285.0);
Tailwind
colors: {
  custom: {
    50: '#8162bd',
    500: '#41229f',
    950: '#000000',
  },
}
SCSS
$custom: #41229f;
$custom-light: #8162bd;
$custom-dark: #000000;
JSON
{
  "hex": "#41229f",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 254.88,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38363,
    "c": 0.18528,
    "h": 285
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#41229F
secondary
#A8C15B
accent
#E840BE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #41229F

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

Preview Lab → · Contrast checker → · Palette generator →

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