#41228B#41228B

#41228B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.162 H 289.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#41228B
RGBrgb(65, 34, 139)
HSLhsl(258, 61%, 34%)
HSVhsv(258, 76%, 55%)
CMYKcmyk(53.2%, 75.5%, 0%, 45.5%)
CIE-LABlab(24.10, 40.75, -53.05)
CIE-LCHlch(24.10, 66.89, 307.53°)
OKLaboklab(36.39% 0.0534 -0.1524)
OKLCHoklch(36.39% 0.162 289.3)
XYZxyz(7.4108, 4.1316, 24.8281)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41228B #6C8B22
analogous
#22388B #41228B #76228B
triadic
#41228B #8B4122 #228B41
tetradic
#41228B #8B2238 #6C8B22 #228B76
square
#41228B #8B2238 #6C8B22 #228B76
split-complementary
#41228B #8B7622 #388B22
monochromatic
#130A29 #2A165A #41228B #582EBC #7953D5

Accessibility & contrast

On white

11.50
#41228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#41228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41228B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41228B#FFFFFF#000000##FFFFFF
##41228B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#263E55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41228b;
/* rgb */ color: rgb(65, 34, 139);
/* oklch */ color: oklch(36.4% 0.162 289.3);
Tailwind
colors: {
  custom: {
    50: '#7e60ae',
    500: '#41228b',
    950: '#000000',
  },
}
SCSS
$custom: #41228b;
$custom-light: #7e60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#41228b",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 257.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36385,
    "c": 0.1615,
    "h": 289.3
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#41228B
secondary
#9AB850
accent
#E444B5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41228B

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

Preview Lab → · Contrast checker → · Palette generator →

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