#41279A#41279A

#41279A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.174 H 285.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#41279A
RGBrgb(65, 39, 154)
HSLhsl(254, 60%, 38%)
HSVhsv(254, 75%, 60%)
CMYKcmyk(57.8%, 74.7%, 0%, 39.6%)
CIE-LABlab(26.47, 42.59, -58.42)
CIE-LCHlch(26.47, 72.30, 306.09°)
OKLaboklab(38.49% 0.0455 -0.1682)
OKLCHoklch(38.49% 0.174 285.1)
XYZxyz(8.7365, 4.9074, 31.0525)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41279A #809A27
analogous
#27479A #41279A #7A279A
triadic
#41279A #9A4127 #279A41
tetradic
#41279A #9A2747 #809A27 #279A7A
square
#41279A #9A2747 #809A27 #279A7A
split-complementary
#41279A #9A7A27 #479A27
monochromatic
#180E38 #2C1B69 #41279A #5633CB #7E64D8

Accessibility & contrast

On white

10.60
#41279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#41279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41279A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41279A#FFFFFF#000000##FFFFFF
##41279A1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#14475E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #41279a;
/* rgb */ color: rgb(65, 39, 154);
/* oklch */ color: oklch(38.5% 0.174 285.1);
Tailwind
colors: {
  custom: {
    50: '#8064b9',
    500: '#41279a',
    950: '#000000',
  },
}
SCSS
$custom: #41279a;
$custom-light: #8064b9;
$custom-dark: #000000;
JSON
{
  "hex": "#41279a",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 253.565,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38493,
    "c": 0.17426,
    "h": 285.1
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#41279A
secondary
#A8BD5F
accent
#E345BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #41279A

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

Preview Lab → · Contrast checker → · Palette generator →

#41279A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva