#41255C#41255C

#41255C is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.9% C 0.097 H 305.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#41255C
RGBrgb(65, 37, 92)
HSLhsl(271, 43%, 25%)
HSVhsv(271, 60%, 36%)
CMYKcmyk(29.3%, 59.8%, 0%, 63.9%)
CIE-LABlab(20.90, 25.40, -28.07)
CIE-LCHlch(20.90, 37.86, 312.14°)
OKLaboklab(32.88% 0.0558 -0.0791)
OKLCHoklch(32.88% 0.097 305.2)
XYZxyz(4.7729, 3.2197, 10.4932)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41255C #405C25
analogous
#25255C #41255C #5C255C
triadic
#41255C #5C4125 #255C41
tetradic
#41255C #5C2525 #405C25 #255C5C
square
#41255C #5C2525 #405C25 #255C5C
split-complementary
#41255C #5C5C25 #255C25
monochromatic
#0F0916 #221330 #41255C #603788 #7F48B3

Accessibility & contrast

On white

12.77
#41255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#41255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41255C
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41255C#FFFFFF#000000##FFFFFF
##41255C1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315E
Deuteranopia (green-blind)
#1B325B
Tritanopia (blue-blind)
#3C2F3C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #41255c;
/* rgb */ color: rgb(65, 37, 92);
/* oklch */ color: oklch(32.9% 0.097 305.2);
Tailwind
colors: {
  custom: {
    50: '#78618a',
    500: '#41255c',
    950: '#000000',
  },
}
SCSS
$custom: #41255c;
$custom-light: #78618a;
$custom-dark: #000000;
JSON
{
  "hex": "#41255c",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 270.545,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32884,
    "c": 0.09678,
    "h": 305.2
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#41255C
secondary
#6E8F4D
accent
#D25593
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #41255C

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

Preview Lab → · Contrast checker → · Palette generator →

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