#41227D#41227D

#41227D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.144 H 293.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#41227D
RGBrgb(65, 34, 125)
HSLhsl(260, 57%, 31%)
HSVhsv(260, 73%, 49%)
CMYKcmyk(48%, 72.8%, 0%, 51%)
CIE-LABlab(22.82, 36.64, -46.34)
CIE-LCHlch(22.82, 59.07, 308.33°)
OKLaboklab(35.08% 0.0566 -0.1328)
OKLCHoklch(35.08% 0.144 293.1)
XYZxyz(6.4526, 3.7483, 19.7816)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41227D #5E7D22
analogous
#22307D #41227D #6E227D
triadic
#41227D #7D4122 #227D41
tetradic
#41227D #7D2230 #5E7D22 #227D6E
square
#41227D #7D2230 #5E7D22 #227D6E
split-complementary
#41227D #7D6E22 #307D22
monochromatic
#0F081D #28154D #41227D #5A2FAD #784BCE

Accessibility & contrast

On white

12.00
#41227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#41227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41227D
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41227D#FFFFFF#000000##FFFFFF
##41227D1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#2F394D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41227d;
/* rgb */ color: rgb(65, 34, 125);
/* oklch */ color: oklch(35.1% 0.144 293.1);
Tailwind
colors: {
  custom: {
    50: '#7c60a3',
    500: '#41227d',
    950: '#000000',
  },
}
SCSS
$custom: #41227d;
$custom-light: #7c60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41227d",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 260.44,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35083,
    "c": 0.1443,
    "h": 293.1
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#41227D
secondary
#8DB04B
accent
#E047AC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41227D

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

Preview Lab → · Contrast checker → · Palette generator →

#41227D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva