#41257D#41257D

#41257D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.140 H 292.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#41257D
RGBrgb(65, 37, 125)
HSLhsl(259, 54%, 32%)
HSVhsv(259, 70%, 49%)
CMYKcmyk(48%, 70.4%, 0%, 51%)
CIE-LABlab(23.43, 34.95, -45.35)
CIE-LCHlch(23.43, 57.26, 307.62°)
OKLaboklab(35.52% 0.0534 -0.1298)
OKLCHoklch(35.52% 0.14 292.4)
XYZxyz(6.5422, 3.9274, 19.8114)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41257D #617D25
analogous
#25357D #41257D #6D257D
triadic
#41257D #7D4125 #257D41
tetradic
#41257D #7D2535 #617D25 #257D6D
square
#41257D #7D2535 #617D25 #257D6D
split-complementary
#41257D #7D6D25 #357D25
monochromatic
#10091F #28174E #41257D #5A33AC #7851CB

Accessibility & contrast

On white

11.76
#41257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41257D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41257D#FFFFFF#000000##FFFFFF
##41257D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#2F3B4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #41257d;
/* rgb */ color: rgb(65, 37, 125);
/* oklch */ color: oklch(35.5% 0.140 292.4);
Tailwind
colors: {
  custom: {
    50: '#7b62a3',
    500: '#41257d',
    950: '#000000',
  },
}
SCSS
$custom: #41257d;
$custom-light: #7b62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41257d",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 259.091,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35518,
    "c": 0.14041,
    "h": 292.4
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#41257D
secondary
#90AF4F
accent
#DE4AAF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41257D

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

Preview Lab → · Contrast checker → · Palette generator →

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