#41226A#41226A

#41226A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.120 H 299.7°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#41226A
RGBrgb(65, 34, 106)
HSLhsl(266, 51%, 27%)
HSVhsv(266, 68%, 42%)
CMYKcmyk(38.7%, 67.9%, 0%, 58.4%)
CIE-LABlab(21.24, 31.14, -36.72)
CIE-LCHlch(21.24, 48.14, 310.31°)
OKLaboklab(33.45% 0.0595 -0.1045)
OKLCHoklch(33.45% 0.12 299.7)
XYZxyz(5.3529, 3.3084, 13.9895)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41226A #4B6A22
analogous
#22276A #41226A #65226A
triadic
#41226A #6A4122 #226A41
tetradic
#41226A #6A2227 #4B6A22 #226A65
square
#41226A #6A2227 #4B6A22 #226A65
split-complementary
#41226A #6A6522 #276A22
monochromatic
#0E0717 #25133C #41226A #5D3198 #7A44C3

Accessibility & contrast

On white

12.64
#41226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#41226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41226A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41226A#FFFFFF#000000##FFFFFF
##41226A1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#013268
Tritanopia (blue-blind)
#383242
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #41226a;
/* rgb */ color: rgb(65, 34, 106);
/* oklch */ color: oklch(33.5% 0.120 299.7);
Tailwind
colors: {
  custom: {
    50: '#795f95',
    500: '#41226a',
    950: '#000000',
  },
}
SCSS
$custom: #41226a;
$custom-light: #795f95;
$custom-dark: #000000;
JSON
{
  "hex": "#41226a",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 265.833,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33453,
    "c": 0.12021,
    "h": 299.7
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#41226A
secondary
#7A9E4A
accent
#DB4D9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41226A

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

Preview Lab → · Contrast checker → · Palette generator →

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