#41245C#41245C

#41245C is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.7% C 0.099 H 305.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#41245C
RGBrgb(65, 36, 92)
HSLhsl(271, 44%, 25%)
HSVhsv(271, 61%, 36%)
CMYKcmyk(29.3%, 60.9%, 0%, 63.9%)
CIE-LABlab(20.67, 26.02, -28.45)
CIE-LCHlch(20.67, 38.55, 312.45°)
OKLaboklab(32.71% 0.0573 -0.0802)
OKLCHoklch(32.71% 0.099 305.5)
XYZxyz(4.7422, 3.1583, 10.4829)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41245C #3F5C24
analogous
#25245C #41245C #5C245B
triadic
#41245C #5C4124 #245C41
tetradic
#41245C #5C2524 #3F5C24 #245B5C
square
#41245C #5C2524 #3F5C24 #245B5C
split-complementary
#41245C #5B5C24 #245C25
monochromatic
#100916 #221330 #41245C #603588 #7F46B4

Accessibility & contrast

On white

12.87
#41245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#41245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41245C
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41245C#FFFFFF#000000##FFFFFF
##41245C1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315E
Deuteranopia (green-blind)
#1A325B
Tritanopia (blue-blind)
#3C2F3C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41245c;
/* rgb */ color: rgb(65, 36, 92);
/* oklch */ color: oklch(32.7% 0.099 305.5);
Tailwind
colors: {
  custom: {
    50: '#78608a',
    500: '#41245c',
    950: '#000000',
  },
}
SCSS
$custom: #41245c;
$custom-light: #78608a;
$custom-dark: #000000;
JSON
{
  "hex": "#41245c",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 271.071,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.09853,
    "h": 305.5
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#41245C
secondary
#6D904C
accent
#D35492
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41245C

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

Preview Lab → · Contrast checker → · Palette generator →

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