#41297E#41297E

#41297E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.136 H 291.0°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#41297E
RGBrgb(65, 41, 126)
HSLhsl(257, 51%, 33%)
HSVhsv(257, 67%, 49%)
CMYKcmyk(48.4%, 67.5%, 0%, 50.6%)
CIE-LABlab(24.37, 32.91, -44.45)
CIE-LCHlch(24.37, 55.31, 306.52°)
OKLaboklab(36.22% 0.0489 -0.1272)
OKLCHoklch(36.22% 0.136 291)
XYZxyz(6.7377, 4.2158, 20.1933)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41297E #667E29
analogous
#293C7E #41297E #6B297E
triadic
#41297E #7E4129 #297E41
tetradic
#41297E #7E293C #667E29 #297E6B
square
#41297E #7E293C #667E29 #297E6B
split-complementary
#41297E #7E6B29 #3C7E29
monochromatic
#110B22 #291A50 #41297E #5938AC #7859C9

Accessibility & contrast

On white

11.39
#41297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#41297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41297E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41297E#FFFFFF#000000##FFFFFF
##41297E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#2E3D4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41297e;
/* rgb */ color: rgb(65, 41, 126);
/* oklch */ color: oklch(36.2% 0.136 291.0);
Tailwind
colors: {
  custom: {
    50: '#7b64a4',
    500: '#41297e',
    950: '#000000',
  },
}
SCSS
$custom: #41297e;
$custom-light: #7b64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#41297e",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 256.941,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36222,
    "c": 0.13628,
    "h": 291
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#41297E
secondary
#95AE55
accent
#DA4DB3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41297E

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

Preview Lab → · Contrast checker → · Palette generator →

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