#41226B#41226B

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

Color values

HEX#41226B
RGBrgb(65, 34, 107)
HSLhsl(265, 52%, 28%)
HSVhsv(265, 68%, 42%)
CMYKcmyk(39.3%, 68.2%, 0%, 58%)
CIE-LABlab(21.32, 31.43, -37.24)
CIE-LCHlch(21.32, 48.73, 310.16°)
OKLaboklab(33.53% 0.0594 -0.106)
OKLCHoklch(33.53% 0.122 299.3)
XYZxyz(5.4052, 3.3294, 14.2649)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41226B #4C6B22
analogous
#22286B #41226B #65226B
triadic
#41226B #6B4122 #226B41
tetradic
#41226B #6B2228 #4C6B22 #226B65
square
#41226B #6B2228 #4C6B22 #226B65
split-complementary
#41226B #6B6522 #286B22
monochromatic
#0E0717 #25133D #41226B #5D3199 #7A44C4

Accessibility & contrast

On white

12.61
#41226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41226B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41226B#FFFFFF#000000##FFFFFF
##41226B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#003369
Tritanopia (blue-blind)
#373243
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #41226b;
/* rgb */ color: rgb(65, 34, 107);
/* oklch */ color: oklch(33.5% 0.121 299.3);
Tailwind
colors: {
  custom: {
    50: '#795f96',
    500: '#41226b',
    950: '#000000',
  },
}
SCSS
$custom: #41226b;
$custom-light: #795f96;
$custom-dark: #000000;
JSON
{
  "hex": "#41226b",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 265.479,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33534,
    "c": 0.1215,
    "h": 299.3
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#41226B
secondary
#7B9F4A
accent
#DB4D9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41226B

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

Preview Lab → · Contrast checker → · Palette generator →

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