#41258E#41258E

#41258E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.162 H 288.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#41258E
RGBrgb(65, 37, 142)
HSLhsl(256, 59%, 35%)
HSVhsv(256, 74%, 56%)
CMYKcmyk(54.2%, 73.9%, 0%, 44.3%)
CIE-LABlab(24.95, 40.05, -53.52)
CIE-LCHlch(24.95, 66.84, 306.81°)
OKLaboklab(37.07% 0.05 -0.1538)
OKLCHoklch(37.07% 0.162 288)
XYZxyz(7.7226, 4.3996, 26.0282)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41258E #728E25
analogous
#253E8E #41258E #75258E
triadic
#41258E #8E4125 #258E41
tetradic
#41258E #8E253E #728E25 #258E75
square
#41258E #8E253E #728E25 #258E75
split-complementary
#41258E #8E7525 #3E8E25
monochromatic
#150C2D #2B185D #41258E #5732BF #7A5AD4

Accessibility & contrast

On white

11.17
#41258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#41258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41258E
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41258E#FFFFFF#000000##FFFFFF
##41258E1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#234157
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #41258e;
/* rgb */ color: rgb(65, 37, 142);
/* oklch */ color: oklch(37.1% 0.162 288.0);
Tailwind
colors: {
  custom: {
    50: '#7e62b0',
    500: '#41258e',
    950: '#000000',
  },
}
SCSS
$custom: #41258e;
$custom-light: #7e62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#41258e",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 256,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37072,
    "c": 0.16176,
    "h": 288
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#41258E
secondary
#9EB956
accent
#E246B8
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #41258E

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

Preview Lab → · Contrast checker → · Palette generator →

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