#41258F#41258F

#41258F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.163 H 287.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#41258F
RGBrgb(65, 37, 143)
HSLhsl(256, 59%, 35%)
HSVhsv(256, 74%, 56%)
CMYKcmyk(54.5%, 74.1%, 0%, 43.9%)
CIE-LABlab(25.04, 40.35, -53.99)
CIE-LCHlch(25.04, 67.40, 306.77°)
OKLaboklab(37.17% 0.0498 -0.1552)
OKLCHoklch(37.17% 0.163 287.8)
XYZxyz(7.7980, 4.4297, 26.4254)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41258F #738F25
analogous
#253E8F #41258F #76258F
triadic
#41258F #8F4125 #258F41
tetradic
#41258F #8F253E #738F25 #258F76
square
#41258F #8F253E #738F25 #258F76
split-complementary
#41258F #8F7625 #3E8F25
monochromatic
#150C2E #2B185E #41258F #5732C0 #7A5AD4

Accessibility & contrast

On white

11.13
#41258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#41258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41258F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41258F#FFFFFF#000000##FFFFFF
##41258F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#224158
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #41258f;
/* rgb */ color: rgb(65, 37, 143);
/* oklch */ color: oklch(37.2% 0.163 287.8);
Tailwind
colors: {
  custom: {
    50: '#7e62b1',
    500: '#41258f',
    950: '#000000',
  },
}
SCSS
$custom: #41258f;
$custom-light: #7e62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#41258f",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 255.849,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37167,
    "c": 0.16299,
    "h": 287.8
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#41258F
secondary
#9FB957
accent
#E246B9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #41258F

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

Preview Lab → · Contrast checker → · Palette generator →

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