#41226C#41226C

#41226C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.6% C 0.123 H 298.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#41226C
RGBrgb(65, 34, 108)
HSLhsl(265, 52%, 28%)
HSVhsv(265, 69%, 42%)
CMYKcmyk(39.8%, 68.5%, 0%, 57.6%)
CIE-LABlab(21.40, 31.71, -37.76)
CIE-LCHlch(21.40, 49.31, 310.03°)
OKLaboklab(33.62% 0.0593 -0.1075)
OKLCHoklch(33.62% 0.123 298.9)
XYZxyz(5.4581, 3.3505, 14.5436)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41226C #4D6C22
analogous
#22286C #41226C #66226C
triadic
#41226C #6C4122 #226C41
tetradic
#41226C #6C2228 #4D6C22 #226C66
square
#41226C #6C2228 #4D6C22 #226C66
split-complementary
#41226C #6C6622 #286C22
monochromatic
#0E0717 #25133D #41226C #5D319B #7A44C4

Accessibility & contrast

On white

12.57
#41226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#41226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41226C
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41226C#FFFFFF#000000##FFFFFF
##41226C1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#373343
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #41226c;
/* rgb */ color: rgb(65, 34, 108);
/* oklch */ color: oklch(33.6% 0.123 298.9);
Tailwind
colors: {
  custom: {
    50: '#795f97',
    500: '#41226c',
    950: '#000000',
  },
}
SCSS
$custom: #41226c;
$custom-light: #795f97;
$custom-dark: #000000;
JSON
{
  "hex": "#41226c",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 265.135,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33616,
    "c": 0.12278,
    "h": 298.9
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#41226C
secondary
#7CA04A
accent
#DC4CA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41226C

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

Preview Lab → · Contrast checker → · Palette generator →

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