#41259F#41259F

#41259F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.182 H 284.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#41259F
RGBrgb(65, 37, 159)
HSLhsl(254, 62%, 38%)
HSVhsv(254, 77%, 62%)
CMYKcmyk(59.1%, 76.7%, 0%, 37.6%)
CIE-LABlab(26.59, 45.14, -61.28)
CIE-LCHlch(26.59, 76.11, 306.38°)
OKLaboklab(38.73% 0.0457 -0.1765)
OKLCHoklch(38.73% 0.182 284.5)
XYZxyz(9.0976, 4.9496, 33.2701)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41259F #839F25
analogous
#25469F #41259F #7E259F
triadic
#41259F #9F4125 #259F41
tetradic
#41259F #9F2546 #839F25 #259F7E
square
#41259F #9F2546 #839F25 #259F7E
split-complementary
#41259F #9F7E25 #469F25
monochromatic
#180E3C #2D196D #41259F #5632CF #7F64DB

Accessibility & contrast

On white

10.55
#41259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#41259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41259F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41259F#FFFFFF#000000##FFFFFF
##41259F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#0A4861
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #41259f;
/* rgb */ color: rgb(65, 37, 159);
/* oklch */ color: oklch(38.7% 0.182 284.5);
Tailwind
colors: {
  custom: {
    50: '#8163bd',
    500: '#41259f',
    950: '#000000',
  },
}
SCSS
$custom: #41259f;
$custom-light: #8163bd;
$custom-dark: #000000;
JSON
{
  "hex": "#41259f",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 253.77,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38727,
    "c": 0.18237,
    "h": 284.5
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#41259F
secondary
#AAC05F
accent
#E542C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #41259F

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

Preview Lab → · Contrast checker → · Palette generator →

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