#41246C#41246C

#41246C is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.120 H 298.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#41246C
RGBrgb(65, 36, 108)
HSLhsl(264, 50%, 28%)
HSVhsv(264, 67%, 42%)
CMYKcmyk(39.8%, 66.7%, 0%, 57.6%)
CIE-LABlab(21.83, 30.54, -37.06)
CIE-LCHlch(21.83, 48.02, 309.49°)
OKLaboklab(33.93% 0.0568 -0.1055)
OKLCHoklch(33.93% 0.12 298.3)
XYZxyz(5.5169, 3.4682, 14.5632)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41246C #4F6C24
analogous
#242B6C #41246C #65246C
triadic
#41246C #6C4124 #246C41
tetradic
#41246C #6C242B #4F6C24 #246C65
square
#41246C #6C242B #4F6C24 #246C65
split-complementary
#41246C #6C6524 #2B6C24
monochromatic
#0E0817 #25153E #41246C #5D339A #7948C2

Accessibility & contrast

On white

12.40
#41246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#41246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41246C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41246C#FFFFFF#000000##FFFFFF
##41246C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#01346A
Tritanopia (blue-blind)
#373444
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #41246c;
/* rgb */ color: rgb(65, 36, 108);
/* oklch */ color: oklch(33.9% 0.120 298.3);
Tailwind
colors: {
  custom: {
    50: '#796097',
    500: '#41246c',
    950: '#000000',
  },
}
SCSS
$custom: #41246c;
$custom-light: #796097;
$custom-dark: #000000;
JSON
{
  "hex": "#41246c",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 264.167,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33929,
    "c": 0.11978,
    "h": 298.3
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#41246C
secondary
#7E9F4D
accent
#DA4EA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41246C

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

Preview Lab → · Contrast checker → · Palette generator →

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