#41197F#41197F

#41197F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.157 H 294.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#41197F
RGBrgb(65, 25, 127)
HSLhsl(264, 67%, 30%)
HSVhsv(264, 80%, 50%)
CMYKcmyk(48.8%, 80.3%, 0%, 50.2%)
CIE-LABlab(21.40, 41.76, -49.94)
CIE-LCHlch(21.40, 65.10, 309.90°)
OKLaboklab(34.14% 0.0644 -0.1432)
OKLCHoklch(34.14% 0.157 294.2)
XYZxyz(6.3573, 3.3512, 20.3864)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41197F #577F19
analogous
#19247F #41197F #74197F
triadic
#41197F #7F4119 #197F41
tetradic
#41197F #7F1924 #577F19 #197F74
square
#41197F #7F1924 #577F19 #197F74
split-complementary
#41197F #7F7419 #247F19
monochromatic
#0D051A #270F4C #41197F #5B23B2 #783AD8

Accessibility & contrast

On white

12.57
#41197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#41197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41197F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41197F#FFFFFF#000000##FFFFFF
##41197F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#2E354C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #41197f;
/* rgb */ color: rgb(65, 25, 127);
/* oklch */ color: oklch(34.1% 0.157 294.2);
Tailwind
colors: {
  custom: {
    50: '#7d5ba5',
    500: '#41197f',
    950: '#000000',
  },
}
SCSS
$custom: #41197f;
$custom-light: #7d5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#41197f",
  "rgb": {
    "r": 65,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 263.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34138,
    "c": 0.15703,
    "h": 294.2
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#41197F
secondary
#86B341
accent
#EA3EA6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #41197F

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

Preview Lab → · Contrast checker → · Palette generator →

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