#41245E#41245E

#41245E is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.9% C 0.101 H 304.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#41245E
RGBrgb(65, 36, 94)
HSLhsl(270, 45%, 25%)
HSVhsv(270, 62%, 37%)
CMYKcmyk(30.9%, 61.7%, 0%, 63.1%)
CIE-LABlab(20.80, 26.57, -29.55)
CIE-LCHlch(20.80, 39.74, 311.96°)
OKLaboklab(32.86% 0.0573 -0.0834)
OKLCHoklch(32.86% 0.101 304.5)
XYZxyz(4.8308, 3.1937, 10.9495)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41245E #415E24
analogous
#24245E #41245E #5E245E
triadic
#41245E #5E4124 #245E41
tetradic
#41245E #5E2424 #415E24 #245E5E
square
#41245E #5E2424 #415E24 #245E5E
split-complementary
#41245E #5E5E24 #245E24
monochromatic
#0F0816 #221332 #41245E #60358A #7E46B7

Accessibility & contrast

On white

12.81
#41245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41245E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41245E#FFFFFF#000000##FFFFFF
##41245E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3160
Deuteranopia (green-blind)
#18325D
Tritanopia (blue-blind)
#3C2F3D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41245e;
/* rgb */ color: rgb(65, 36, 94);
/* oklch */ color: oklch(32.9% 0.101 304.5);
Tailwind
colors: {
  custom: {
    50: '#78608c',
    500: '#41245e',
    950: '#000000',
  },
}
SCSS
$custom: #41245e;
$custom-light: #78608c;
$custom-dark: #000000;
JSON
{
  "hex": "#41245e",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 270,
    "s": 44.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32855,
    "c": 0.1012,
    "h": 304.5
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#41245E
secondary
#6F924C
accent
#D45394
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41245E

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

Preview Lab → · Contrast checker → · Palette generator →

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