#41228A#41228A

#41228A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.160 H 289.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#41228A
RGBrgb(65, 34, 138)
HSLhsl(258, 60%, 34%)
HSVhsv(258, 75%, 54%)
CMYKcmyk(52.9%, 75.4%, 0%, 45.9%)
CIE-LABlab(24.01, 40.46, -52.58)
CIE-LCHlch(24.01, 66.34, 307.58°)
OKLaboklab(36.29% 0.0536 -0.151)
OKLCHoklch(36.29% 0.16 289.5)
XYZxyz(7.3381, 4.1025, 24.4450)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41228A #6B8A22
analogous
#22378A #41228A #75228A
triadic
#41228A #8A4122 #228A41
tetradic
#41228A #8A2237 #6B8A22 #228A75
square
#41228A #8A2237 #6B8A22 #228A75
split-complementary
#41228A #8A7522 #378A22
monochromatic
#130A28 #2A1659 #41228A #582EBB #7952D4

Accessibility & contrast

On white

11.53
#41228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#41228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41228A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41228A#FFFFFF#000000##FFFFFF
##41228A1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#263E54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41228a;
/* rgb */ color: rgb(65, 34, 138);
/* oklch */ color: oklch(36.3% 0.160 289.5);
Tailwind
colors: {
  custom: {
    50: '#7e60ad',
    500: '#41228a',
    950: '#000000',
  },
}
SCSS
$custom: #41228a;
$custom-light: #7e60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#41228a",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 257.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3629,
    "c": 0.16028,
    "h": 289.5
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#41228A
secondary
#99B850
accent
#E444B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41228A

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

Preview Lab → · Contrast checker → · Palette generator →

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