#41279F#41279F

#41279F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.180 H 284.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#41279F
RGBrgb(65, 39, 159)
HSLhsl(253, 61%, 39%)
HSVhsv(253, 75%, 62%)
CMYKcmyk(59.1%, 75.5%, 0%, 37.6%)
CIE-LABlab(26.95, 44.10, -60.68)
CIE-LCHlch(26.95, 75.01, 306.01°)
OKLaboklab(38.98% 0.0443 -0.1748)
OKLCHoklch(38.98% 0.18 284.2)
XYZxyz(9.1616, 5.0775, 33.2915)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41279F #859F27
analogous
#27499F #41279F #7D279F
triadic
#41279F #9F4127 #279F41
tetradic
#41279F #9F2749 #859F27 #279F7D
square
#41279F #9F2749 #859F27 #279F7D
split-complementary
#41279F #9F7D27 #499F27
monochromatic
#190F3D #2D1B6E #41279F #5736CE #8067DA

Accessibility & contrast

On white

10.42
#41279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#41279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41279F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41279F#FFFFFF#000000##FFFFFF
##41279F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#094961
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #41279f;
/* rgb */ color: rgb(65, 39, 159);
/* oklch */ color: oklch(39.0% 0.180 284.2);
Tailwind
colors: {
  custom: {
    50: '#8164bc',
    500: '#41279f',
    950: '#000000',
  },
}
SCSS
$custom: #41279f;
$custom-light: #8164bc;
$custom-dark: #000000;
JSON
{
  "hex": "#41279f",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 253,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.18033,
    "h": 284.2
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#41279F
secondary
#ABC062
accent
#E444C1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #41279F

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

Preview Lab → · Contrast checker → · Palette generator →

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