#41229A#41229A

#41229A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.179 H 285.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#41229A
RGBrgb(65, 34, 154)
HSLhsl(256, 64%, 37%)
HSVhsv(256, 78%, 60%)
CMYKcmyk(57.8%, 77.9%, 0%, 39.6%)
CIE-LABlab(25.56, 45.16, -59.91)
CIE-LCHlch(25.56, 75.03, 307.01°)
OKLaboklab(37.86% 0.0493 -0.1725)
OKLCHoklch(37.86% 0.179 285.9)
XYZxyz(8.5830, 4.6005, 31.0013)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41229A #7B9A22
analogous
#223F9A #41229A #7D229A
triadic
#41229A #9A4122 #229A41
tetradic
#41229A #9A223F #7B9A22 #229A7D
square
#41229A #9A223F #7B9A22 #229A7D
split-complementary
#41229A #9A7D22 #3F9A22
monochromatic
#170C36 #2C1768 #41229A #562DCC #7C5BDB

Accessibility & contrast

On white

10.94
#41229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#41229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41229A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41229A#FFFFFF#000000##FFFFFF
##41229A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#15445D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41229a;
/* rgb */ color: rgb(65, 34, 154);
/* oklch */ color: oklch(37.9% 0.179 285.9);
Tailwind
colors: {
  custom: {
    50: '#8061b9',
    500: '#41229a',
    950: '#000000',
  },
}
SCSS
$custom: #41229a;
$custom-light: #8061b9;
$custom-dark: #000000;
JSON
{
  "hex": "#41229a",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 255.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37857,
    "c": 0.17942,
    "h": 285.9
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#41229A
secondary
#A5BF58
accent
#E741BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #41229A

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

Preview Lab → · Contrast checker → · Palette generator →

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