#41257C#41257C

#41257C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.139 H 292.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#41257C
RGBrgb(65, 37, 124)
HSLhsl(259, 54%, 32%)
HSVhsv(259, 70%, 49%)
CMYKcmyk(47.6%, 70.2%, 0%, 51.4%)
CIE-LABlab(23.34, 34.66, -44.85)
CIE-LCHlch(23.34, 56.68, 307.69°)
OKLaboklab(35.43% 0.0536 -0.1284)
OKLCHoklch(35.43% 0.139 292.6)
XYZxyz(6.4786, 3.9020, 19.4767)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41257C #607C25
analogous
#25357C #41257C #6D257C
triadic
#41257C #7C4125 #257C41
tetradic
#41257C #7C2535 #607C25 #257C6D
square
#41257C #7C2535 #607C25 #257C6D
split-complementary
#41257C #7C6D25 #357C25
monochromatic
#10091E #28174D #41257C #5A33AB #7850CB

Accessibility & contrast

On white

11.80
#41257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#41257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41257C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41257C#FFFFFF#000000##FFFFFF
##41257C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#2F3A4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #41257c;
/* rgb */ color: rgb(65, 37, 124);
/* oklch */ color: oklch(35.4% 0.139 292.6);
Tailwind
colors: {
  custom: {
    50: '#7b62a3',
    500: '#41257c',
    950: '#000000',
  },
}
SCSS
$custom: #41257c;
$custom-light: #7b62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41257c",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 259.31,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3543,
    "c": 0.13913,
    "h": 292.6
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#41257C
secondary
#8FAE4F
accent
#DD4AAE
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41257C

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

Preview Lab → · Contrast checker → · Palette generator →

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