#41228C#41228C

#41228C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.163 H 289.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#41228C
RGBrgb(65, 34, 140)
HSLhsl(258, 61%, 34%)
HSVhsv(258, 76%, 55%)
CMYKcmyk(53.6%, 75.7%, 0%, 45.1%)
CIE-LABlab(24.20, 41.05, -53.51)
CIE-LCHlch(24.20, 67.44, 307.49°)
OKLaboklab(36.48% 0.0531 -0.1538)
OKLCHoklch(36.48% 0.163 289)
XYZxyz(7.4842, 4.1610, 25.2147)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41228C #6D8C22
analogous
#22388C #41228C #76228C
triadic
#41228C #8C4122 #228C41
tetradic
#41228C #8C2238 #6D8C22 #228C76
square
#41228C #8C2238 #6D8C22 #228C76
split-complementary
#41228C #8C7622 #388C22
monochromatic
#130A2A #2A165B #41228C #582EBD #7953D5

Accessibility & contrast

On white

11.46
#41228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41228C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41228C#FFFFFF#000000##FFFFFF
##41228C1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#253F55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41228c;
/* rgb */ color: rgb(65, 34, 140);
/* oklch */ color: oklch(36.5% 0.163 289.0);
Tailwind
colors: {
  custom: {
    50: '#7e60af',
    500: '#41228c',
    950: '#000000',
  },
}
SCSS
$custom: #41228c;
$custom-light: #7e60af;
$custom-dark: #000000;
JSON
{
  "hex": "#41228c",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 257.547,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36481,
    "c": 0.16271,
    "h": 289
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#41228C
secondary
#9BB951
accent
#E444B5
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41228C

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

Preview Lab → · Contrast checker → · Palette generator →

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