#41257E#41257E

#41257E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.142 H 292.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#41257E
RGBrgb(65, 37, 126)
HSLhsl(259, 55%, 32%)
HSVhsv(259, 71%, 49%)
CMYKcmyk(48.4%, 70.6%, 0%, 50.6%)
CIE-LABlab(23.52, 35.25, -45.84)
CIE-LCHlch(23.52, 57.83, 307.56°)
OKLaboklab(35.61% 0.0532 -0.1313)
OKLCHoklch(35.61% 0.142 292.1)
XYZxyz(6.6064, 3.9531, 20.1496)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41257E #627E25
analogous
#25367E #41257E #6E257E
triadic
#41257E #7E4125 #257E41
tetradic
#41257E #7E2536 #627E25 #257E6E
square
#41257E #7E2536 #627E25 #257E6E
split-complementary
#41257E #7E6E25 #367E25
monochromatic
#10091F #29174F #41257E #5933AD #7851CC

Accessibility & contrast

On white

11.73
#41257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#41257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41257E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41257E#FFFFFF#000000##FFFFFF
##41257E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#2E3B4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #41257e;
/* rgb */ color: rgb(65, 37, 126);
/* oklch */ color: oklch(35.6% 0.142 292.1);
Tailwind
colors: {
  custom: {
    50: '#7c62a4',
    500: '#41257e',
    950: '#000000',
  },
}
SCSS
$custom: #41257e;
$custom-light: #7c62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#41257e",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 258.876,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35606,
    "c": 0.14168,
    "h": 292.1
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#41257E
secondary
#91B04F
accent
#DE4AAF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41257E

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

Preview Lab → · Contrast checker → · Palette generator →

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