#41258D#41258D

#41258D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.161 H 288.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#41258D
RGBrgb(65, 37, 141)
HSLhsl(256, 58%, 35%)
HSVhsv(256, 74%, 55%)
CMYKcmyk(53.9%, 73.8%, 0%, 44.7%)
CIE-LABlab(24.86, 39.75, -53.05)
CIE-LCHlch(24.86, 66.29, 306.84°)
OKLaboklab(36.98% 0.0502 -0.1525)
OKLCHoklch(36.98% 0.161 288.2)
XYZxyz(7.6478, 4.3697, 25.6346)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41258D #718D25
analogous
#253D8D #41258D #75258D
triadic
#41258D #8D4125 #258D41
tetradic
#41258D #8D253D #718D25 #258D75
square
#41258D #8D253D #718D25 #258D75
split-complementary
#41258D #8D7525 #3D8D25
monochromatic
#140C2C #2B185D #41258D #5732BD #7A59D3

Accessibility & contrast

On white

11.21
#41258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#41258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41258D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41258D#FFFFFF#000000##FFFFFF
##41258D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#244156
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #41258d;
/* rgb */ color: rgb(65, 37, 141);
/* oklch */ color: oklch(37.0% 0.161 288.2);
Tailwind
colors: {
  custom: {
    50: '#7e62af',
    500: '#41258d',
    950: '#000000',
  },
}
SCSS
$custom: #41258d;
$custom-light: #7e62af;
$custom-dark: #000000;
JSON
{
  "hex": "#41258d",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 256.154,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36977,
    "c": 0.16052,
    "h": 288.2
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#41258D
secondary
#9EB856
accent
#E246B8
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #41258D

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

Preview Lab → · Contrast checker → · Palette generator →

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