#41226F#41226F

#41226F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.127 H 297.7°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#41226F
RGBrgb(65, 34, 111)
HSLhsl(264, 53%, 28%)
HSVhsv(264, 69%, 44%)
CMYKcmyk(41.4%, 69.4%, 0%, 56.5%)
CIE-LABlab(21.64, 32.57, -39.31)
CIE-LCHlch(21.64, 51.05, 309.64°)
OKLaboklab(33.87% 0.0589 -0.1121)
OKLCHoklch(33.87% 0.127 297.7)
XYZxyz(5.6205, 3.4155, 15.3990)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41226F #506F22
analogous
#22296F #41226F #67226F
triadic
#41226F #6F4122 #226F41
tetradic
#41226F #6F2229 #506F22 #226F67
square
#41226F #6F2229 #506F22 #226F67
split-complementary
#41226F #6F6722 #296F22
monochromatic
#0E0717 #261440 #41226F #5C309E #7945C6

Accessibility & contrast

On white

12.48
#41226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#41226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41226F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41226F#FFFFFF#000000##FFFFFF
##41226F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#363445
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #41226f;
/* rgb */ color: rgb(65, 34, 111);
/* oklch */ color: oklch(33.9% 0.127 297.7);
Tailwind
colors: {
  custom: {
    50: '#7a5f99',
    500: '#41226f',
    950: '#000000',
  },
}
SCSS
$custom: #41226f;
$custom-light: #7a5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#41226f",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 264.156,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.12662,
    "h": 297.7
  },
  "luminance": 0.03416
}

Semantic roles & 50–950 ramp

primary
#41226F
secondary
#7FA24A
accent
#DD4BA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #41226F

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

Preview Lab → · Contrast checker → · Palette generator →

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