#41229E#41229E

#41229E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.184 H 285.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#41229E
RGBrgb(65, 34, 158)
HSLhsl(255, 65%, 38%)
HSVhsv(255, 78%, 62%)
CMYKcmyk(58.9%, 78.5%, 0%, 38%)
CIE-LABlab(25.97, 46.33, -61.69)
CIE-LCHlch(25.97, 77.15, 306.91°)
OKLaboklab(38.26% 0.0481 -0.1777)
OKLCHoklch(38.26% 0.184 285.1)
XYZxyz(8.9217, 4.7359, 32.7851)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41229E #7F9E22
analogous
#22419E #41229E #7F229E
triadic
#41229E #9E4122 #229E41
tetradic
#41229E #9E2241 #7F9E22 #229E7F
square
#41229E #9E2241 #7F9E22 #229E7F
split-complementary
#41229E #9E7F22 #419E22
monochromatic
#180C39 #2C176C #41229E #562DD0 #7E5EDC

Accessibility & contrast

On white

10.78
#41229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41229E
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41229E#FFFFFF#000000##FFFFFF
##41229E1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#0D465F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41229e;
/* rgb */ color: rgb(65, 34, 158);
/* oklch */ color: oklch(38.3% 0.184 285.1);
Tailwind
colors: {
  custom: {
    50: '#8161bc',
    500: '#41229e',
    950: '#000000',
  },
}
SCSS
$custom: #41229e;
$custom-light: #8161bc;
$custom-dark: #000000;
JSON
{
  "hex": "#41229e",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 255,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38261,
    "c": 0.18411,
    "h": 285.1
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #41229E

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

Preview Lab → · Contrast checker → · Palette generator →

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