#41229C#41229C

#41229C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.182 H 285.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#41229C
RGBrgb(65, 34, 156)
HSLhsl(255, 64%, 37%)
HSVhsv(255, 78%, 61%)
CMYKcmyk(58.3%, 78.2%, 0%, 38.8%)
CIE-LABlab(25.77, 45.75, -60.80)
CIE-LCHlch(25.77, 76.09, 306.96°)
OKLaboklab(38.06% 0.0487 -0.1751)
OKLCHoklch(38.06% 0.182 285.5)
XYZxyz(8.7509, 4.6677, 31.8859)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41229C #7D9C22
analogous
#22409C #41229C #7E229C
triadic
#41229C #9C4122 #229C41
tetradic
#41229C #9C2240 #7D9C22 #229C7E
square
#41229C #9C2240 #7D9C22 #229C7E
split-complementary
#41229C #9C7E22 #409C22
monochromatic
#170C38 #2C176A #41229C #562DCE #7D5DDC

Accessibility & contrast

On white

10.86
#41229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#41229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41229C
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41229C#FFFFFF#000000##FFFFFF
##41229C1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#11455E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41229c;
/* rgb */ color: rgb(65, 34, 156);
/* oklch */ color: oklch(38.1% 0.182 285.5);
Tailwind
colors: {
  custom: {
    50: '#8161ba',
    500: '#41229c',
    950: '#000000',
  },
}
SCSS
$custom: #41229c;
$custom-light: #8161ba;
$custom-dark: #000000;
JSON
{
  "hex": "#41229c",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 255.246,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38059,
    "c": 0.18177,
    "h": 285.5
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#41229C
secondary
#A6C05A
accent
#E741BD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #41229C

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

Preview Lab → · Contrast checker → · Palette generator →

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