#41279B#41279B

#41279B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.175 H 284.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#41279B
RGBrgb(65, 39, 155)
HSLhsl(253, 60%, 38%)
HSVhsv(253, 75%, 61%)
CMYKcmyk(58.1%, 74.8%, 0%, 39.2%)
CIE-LABlab(26.57, 42.90, -58.88)
CIE-LCHlch(26.57, 72.85, 306.08°)
OKLaboklab(38.59% 0.0453 -0.1695)
OKLCHoklch(38.59% 0.175 284.9)
XYZxyz(8.8201, 4.9409, 31.4929)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41279B #819B27
analogous
#27479B #41279B #7B279B
triadic
#41279B #9B4127 #279B41
tetradic
#41279B #9B2747 #819B27 #279B7B
square
#41279B #9B2747 #819B27 #279B7B
split-complementary
#41279B #9B7B27 #479B27
monochromatic
#180E39 #2C1B6A #41279B #5633CC #7E64D8

Accessibility & contrast

On white

10.56
#41279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#41279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41279B
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41279B#FFFFFF#000000##FFFFFF
##41279B1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#12475F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #41279b;
/* rgb */ color: rgb(65, 39, 155);
/* oklch */ color: oklch(38.6% 0.175 284.9);
Tailwind
colors: {
  custom: {
    50: '#8064ba',
    500: '#41279b',
    950: '#000000',
  },
}
SCSS
$custom: #41279b;
$custom-light: #8064ba;
$custom-dark: #000000;
JSON
{
  "hex": "#41279b",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 253.448,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3859,
    "c": 0.17548,
    "h": 284.9
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#41279B
secondary
#A9BE60
accent
#E345C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #41279B

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

Preview Lab → · Contrast checker → · Palette generator →

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