#41246E#41246E

#41246E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.122 H 297.5°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#41246E
RGBrgb(65, 36, 110)
HSLhsl(264, 51%, 29%)
HSVhsv(264, 67%, 43%)
CMYKcmyk(40.9%, 67.3%, 0%, 56.9%)
CIE-LABlab(21.99, 31.12, -38.10)
CIE-LCHlch(21.99, 49.19, 309.24°)
OKLaboklab(34.09% 0.0566 -0.1085)
OKLCHoklch(34.09% 0.122 297.5)
XYZxyz(5.6246, 3.5113, 15.1302)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41246E #516E24
analogous
#242C6E #41246E #66246E
triadic
#41246E #6E4124 #246E41
tetradic
#41246E #6E242C #516E24 #246E66
square
#41246E #6E242C #516E24 #246E66
split-complementary
#41246E #6E6624 #2C6E24
monochromatic
#0E0817 #261540 #41246E #5C339C #7949C3

Accessibility & contrast

On white

12.34
#41246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#41246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41246E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41246E#FFFFFF#000000##FFFFFF
##41246E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#363545
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #41246e;
/* rgb */ color: rgb(65, 36, 110);
/* oklch */ color: oklch(34.1% 0.122 297.5);
Tailwind
colors: {
  custom: {
    50: '#7a6098',
    500: '#41246e',
    950: '#000000',
  },
}
SCSS
$custom: #41246e;
$custom-light: #7a6098;
$custom-dark: #000000;
JSON
{
  "hex": "#41246e",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 263.514,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.1224,
    "h": 297.5
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#41246E
secondary
#80A14D
accent
#DA4EA3
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #41246E

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

Preview Lab → · Contrast checker → · Palette generator →

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