#41245D#41245D

#41245D is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.8% C 0.100 H 305.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#41245D
RGBrgb(65, 36, 93)
HSLhsl(271, 44%, 25%)
HSVhsv(271, 61%, 36%)
CMYKcmyk(30.1%, 61.3%, 0%, 63.5%)
CIE-LABlab(20.73, 26.30, -29.00)
CIE-LCHlch(20.73, 39.15, 312.20°)
OKLaboklab(32.78% 0.0573 -0.0818)
OKLCHoklch(32.78% 0.1 305)
XYZxyz(4.7862, 3.1759, 10.7147)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41245D #405D24
analogous
#24245D #41245D #5D245C
triadic
#41245D #5D4124 #245D41
tetradic
#41245D #5D2424 #405D24 #245C5D
square
#41245D #5D2424 #405D24 #245C5D
split-complementary
#41245D #5C5D24 #245D24
monochromatic
#0F0916 #221331 #41245D #603589 #7F46B5

Accessibility & contrast

On white

12.84
#41245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#41245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41245D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41245D#FFFFFF#000000##FFFFFF
##41245D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D315F
Deuteranopia (green-blind)
#19325C
Tritanopia (blue-blind)
#3C2F3C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41245d;
/* rgb */ color: rgb(65, 36, 93);
/* oklch */ color: oklch(32.8% 0.100 305.0);
Tailwind
colors: {
  custom: {
    50: '#78608b',
    500: '#41245d',
    950: '#000000',
  },
}
SCSS
$custom: #41245d;
$custom-light: #78608b;
$custom-dark: #000000;
JSON
{
  "hex": "#41245d",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 270.526,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32782,
    "c": 0.09987,
    "h": 305
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#41245D
secondary
#6E914C
accent
#D45493
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41245D

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

Preview Lab → · Contrast checker → · Palette generator →

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