#41245F#41245F

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

Color values

HEX#41245F
RGBrgb(65, 36, 95)
HSLhsl(269, 45%, 26%)
HSVhsv(269, 62%, 37%)
CMYKcmyk(31.6%, 62.1%, 0%, 62.7%)
CIE-LABlab(20.87, 26.85, -30.10)
CIE-LCHlch(20.87, 40.33, 311.73°)
OKLaboklab(32.93% 0.0573 -0.085)
OKLCHoklch(32.93% 0.103 304)
XYZxyz(4.8759, 3.2118, 11.1873)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41245F #425F24
analogous
#24245F #41245F #5E245F
triadic
#41245F #5F4124 #245F41
tetradic
#41245F #5F2424 #425F24 #245F5E
square
#41245F #5F2424 #425F24 #245F5E
split-complementary
#41245F #5F5E24 #245F24
monochromatic
#0F0816 #231333 #41245F #5F358B #7E46B8

Accessibility & contrast

On white

12.79
#41245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41245F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41245F#FFFFFF#000000##FFFFFF
##41245F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3161
Deuteranopia (green-blind)
#17325E
Tritanopia (blue-blind)
#3C303D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41245f;
/* rgb */ color: rgb(65, 36, 95);
/* oklch */ color: oklch(32.9% 0.103 304.0);
Tailwind
colors: {
  custom: {
    50: '#78608d',
    500: '#41245f',
    950: '#000000',
  },
}
SCSS
$custom: #41245f;
$custom-light: #78608d;
$custom-dark: #000000;
JSON
{
  "hex": "#41245f",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 269.492,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32928,
    "c": 0.10254,
    "h": 304
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#41245F
secondary
#70934C
accent
#D55395
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41245F

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

Preview Lab → · Contrast checker → · Palette generator →

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