#41229D#41229D

#41229D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.183 H 285.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#41229D
RGBrgb(65, 34, 157)
HSLhsl(255, 64%, 37%)
HSVhsv(255, 78%, 62%)
CMYKcmyk(58.6%, 78.3%, 0%, 38.4%)
CIE-LABlab(25.87, 46.04, -61.25)
CIE-LCHlch(25.87, 76.62, 306.93°)
OKLaboklab(38.16% 0.0484 -0.1764)
OKLCHoklch(38.16% 0.183 285.3)
XYZxyz(8.8360, 4.7017, 32.3337)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41229D #7E9D22
analogous
#22409D #41229D #7F229D
triadic
#41229D #9D4122 #229D41
tetradic
#41229D #9D2240 #7E9D22 #229D7F
square
#41229D #9D2240 #7E9D22 #229D7F
split-complementary
#41229D #9D7F22 #409D22
monochromatic
#170C38 #2C176B #41229D #562DCF #7D5DDC

Accessibility & contrast

On white

10.82
#41229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#41229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41229D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41229D#FFFFFF#000000##FFFFFF
##41229D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#0F465F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41229d;
/* rgb */ color: rgb(65, 34, 157);
/* oklch */ color: oklch(38.2% 0.183 285.3);
Tailwind
colors: {
  custom: {
    50: '#8161bb',
    500: '#41229d',
    950: '#000000',
  },
}
SCSS
$custom: #41229d;
$custom-light: #8161bb;
$custom-dark: #000000;
JSON
{
  "hex": "#41229d",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 255.122,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3816,
    "c": 0.18295,
    "h": 285.3
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#41229D
secondary
#A7C15A
accent
#E740BD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #41229D

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

Preview Lab → · Contrast checker → · Palette generator →

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