#41258A#41258A

#41258A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.157 H 288.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#41258A
RGBrgb(65, 37, 138)
HSLhsl(257, 58%, 34%)
HSVhsv(257, 73%, 54%)
CMYKcmyk(52.9%, 73.2%, 0%, 45.9%)
CIE-LABlab(24.58, 38.85, -51.64)
CIE-LCHlch(24.58, 64.62, 306.96°)
OKLaboklab(36.7% 0.0509 -0.1483)
OKLCHoklch(36.7% 0.157 288.9)
XYZxyz(7.4277, 4.2816, 24.4749)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41258A #6E8A25
analogous
#253C8A #41258A #74258A
triadic
#41258A #8A4125 #258A41
tetradic
#41258A #8A253C #6E8A25 #258A74
square
#41258A #8A253C #6E8A25 #258A74
split-complementary
#41258A #8A7425 #3C8A25
monochromatic
#140B29 #2A185A #41258A #5832BA #7957D2

Accessibility & contrast

On white

11.31
#41258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#41258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41258A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41258A#FFFFFF#000000##FFFFFF
##41258A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#264055
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41258a;
/* rgb */ color: rgb(65, 37, 138);
/* oklch */ color: oklch(36.7% 0.157 288.9);
Tailwind
colors: {
  custom: {
    50: '#7d62ad',
    500: '#41258a',
    950: '#000000',
  },
}
SCSS
$custom: #41258a;
$custom-light: #7d62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#41258a",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 256.634,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36696,
    "c": 0.15681,
    "h": 288.9
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#41258A
secondary
#9BB754
accent
#E147B6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41258A

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

Preview Lab → · Contrast checker → · Palette generator →

#41258A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva