#41257F#41257F

#41257F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.143 H 291.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#41257F
RGBrgb(65, 37, 127)
HSLhsl(259, 55%, 32%)
HSVhsv(259, 71%, 50%)
CMYKcmyk(48.8%, 70.9%, 0%, 50.2%)
CIE-LABlab(23.60, 35.55, -46.33)
CIE-LCHlch(23.60, 58.40, 307.50°)
OKLaboklab(35.7% 0.0531 -0.1327)
OKLCHoklch(35.7% 0.143 291.8)
XYZxyz(6.6712, 3.9790, 20.4911)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41257F #637F25
analogous
#25367F #41257F #6E257F
triadic
#41257F #7F4125 #257F41
tetradic
#41257F #7F2536 #637F25 #257F6E
square
#41257F #7F2536 #637F25 #257F6E
split-complementary
#41257F #7F6E25 #367F25
monochromatic
#100920 #291750 #41257F #5933AE #7852CD

Accessibility & contrast

On white

11.69
#41257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#41257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41257F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41257F#FFFFFF#000000##FFFFFF
##41257F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#2E3B4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #41257f;
/* rgb */ color: rgb(65, 37, 127);
/* oklch */ color: oklch(35.7% 0.143 291.8);
Tailwind
colors: {
  custom: {
    50: '#7c62a5',
    500: '#41257f',
    950: '#000000',
  },
}
SCSS
$custom: #41257f;
$custom-light: #7c62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41257f",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 258.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35695,
    "c": 0.14296,
    "h": 291.8
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#41257F
secondary
#92B14F
accent
#DE4AB0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41257F

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

Preview Lab → · Contrast checker → · Palette generator →

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