#41259C#41259C

#41259C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.179 H 285.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#41259C
RGBrgb(65, 37, 156)
HSLhsl(254, 62%, 38%)
HSVhsv(254, 76%, 61%)
CMYKcmyk(58.3%, 76.3%, 0%, 38.8%)
CIE-LABlab(26.29, 44.24, -59.94)
CIE-LCHlch(26.29, 74.50, 306.43°)
OKLaboklab(38.43% 0.0465 -0.1726)
OKLCHoklch(38.43% 0.179 285.1)
XYZxyz(8.8405, 4.8467, 31.9157)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41259C #809C25
analogous
#25449C #41259C #7D259C
triadic
#41259C #9C4125 #259C41
tetradic
#41259C #9C2544 #809C25 #259C7D
square
#41259C #9C2544 #809C25 #259C7D
split-complementary
#41259C #9C7D25 #449C25
monochromatic
#180E39 #2C196B #41259C #5631CD #7E62DA

Accessibility & contrast

On white

10.66
#41259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#41259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41259C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41259C#FFFFFF#000000##FFFFFF
##41259C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#11475F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #41259c;
/* rgb */ color: rgb(65, 37, 156);
/* oklch */ color: oklch(38.4% 0.179 285.1);
Tailwind
colors: {
  custom: {
    50: '#8163ba',
    500: '#41259c',
    950: '#000000',
  },
}
SCSS
$custom: #41259c;
$custom-light: #8163ba;
$custom-dark: #000000;
JSON
{
  "hex": "#41259c",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 254.118,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38428,
    "c": 0.17878,
    "h": 285.1
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#41259C
secondary
#A8BF5E
accent
#E543BF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #41259C

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

Preview Lab → · Contrast checker → · Palette generator →

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