#41297F#41297F

#41297F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.138 H 290.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#41297F
RGBrgb(65, 41, 127)
HSLhsl(257, 51%, 33%)
HSVhsv(257, 68%, 50%)
CMYKcmyk(48.8%, 67.7%, 0%, 50.2%)
CIE-LABlab(24.45, 33.22, -44.94)
CIE-LCHlch(24.45, 55.89, 306.47°)
OKLaboklab(36.31% 0.0488 -0.1287)
OKLCHoklch(36.31% 0.138 290.8)
XYZxyz(6.8026, 4.2417, 20.5349)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41297F #677F29
analogous
#293C7F #41297F #6C297F
triadic
#41297F #7F4129 #297F41
tetradic
#41297F #7F293C #677F29 #297F6C
square
#41297F #7F293C #677F29 #297F6C
split-complementary
#41297F #7F6C29 #3C7F29
monochromatic
#120B22 #291A51 #41297F #5938AD #7859C9

Accessibility & contrast

On white

11.36
#41297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#41297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41297F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41297F#FFFFFF#000000##FFFFFF
##41297F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#2D3E50
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #41297f;
/* rgb */ color: rgb(65, 41, 127);
/* oklch */ color: oklch(36.3% 0.138 290.8);
Tailwind
colors: {
  custom: {
    50: '#7b64a5',
    500: '#41297f',
    950: '#000000',
  },
}
SCSS
$custom: #41297f;
$custom-light: #7b64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41297f",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 256.744,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36308,
    "c": 0.1376,
    "h": 290.8
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#41297F
secondary
#96AF55
accent
#DB4DB3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41297F

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

Preview Lab → · Contrast checker → · Palette generator →

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