#41225E#41225E

#41225E is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.105 H 305.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#41225E
RGBrgb(65, 34, 94)
HSLhsl(271, 47%, 25%)
HSVhsv(271, 64%, 37%)
CMYKcmyk(30.9%, 63.8%, 0%, 63.1%)
CIE-LABlab(20.35, 27.79, -30.28)
CIE-LCHlch(20.35, 41.10, 312.54°)
OKLaboklab(32.52% 0.0602 -0.0856)
OKLCHoklch(32.52% 0.105 305.1)
XYZxyz(4.7719, 3.0761, 10.9298)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41225E #3F5E22
analogous
#23225E #41225E #5E225D
triadic
#41225E #5E4122 #225E41
tetradic
#41225E #5E2322 #3F5E22 #225D5E
square
#41225E #5E2322 #3F5E22 #225D5E
split-complementary
#41225E #5D5E22 #225E23
monochromatic
#100816 #221231 #41225E #60328B #7F43B8

Accessibility & contrast

On white

13.00
#41225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#41225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41225E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41225E#FFFFFF#000000##FFFFFF
##41225E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063060
Deuteranopia (green-blind)
#15315D
Tritanopia (blue-blind)
#3C2E3C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #41225e;
/* rgb */ color: rgb(65, 34, 94);
/* oklch */ color: oklch(32.5% 0.105 305.1);
Tailwind
colors: {
  custom: {
    50: '#785f8c',
    500: '#41225e',
    950: '#000000',
  },
}
SCSS
$custom: #41225e;
$custom-light: #785f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#41225e",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 271,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3252,
    "c": 0.10461,
    "h": 305.1
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#41225E
secondary
#6D924A
accent
#D75192
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #41225E

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

Preview Lab → · Contrast checker → · Palette generator →

#41225E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva