#41276C#41276C

#41276C is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.4% C 0.115 H 297.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#41276C
RGBrgb(65, 39, 108)
HSLhsl(263, 47%, 29%)
HSVhsv(263, 64%, 42%)
CMYKcmyk(39.8%, 63.9%, 0%, 57.6%)
CIE-LABlab(22.51, 28.72, -35.97)
CIE-LCHlch(22.51, 46.03, 308.61°)
OKLaboklab(34.42% 0.0529 -0.1023)
OKLCHoklch(34.42% 0.115 297.3)
XYZxyz(5.6116, 3.6575, 14.5948)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41276C #526C27
analogous
#27306C #41276C #64276C
triadic
#41276C #6C4127 #276C41
tetradic
#41276C #6C2730 #526C27 #276C64
square
#41276C #6C2730 #526C27 #276C64
split-complementary
#41276C #6C6427 #306C27
monochromatic
#0E0816 #26173F #41276C #5C3799 #794EBF

Accessibility & contrast

On white

12.13
#41276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#41276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41276C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41276C#FFFFFF#000000##FFFFFF
##41276C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#373645
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41276c;
/* rgb */ color: rgb(65, 39, 108);
/* oklch */ color: oklch(34.4% 0.115 297.3);
Tailwind
colors: {
  custom: {
    50: '#796297',
    500: '#41276c',
    950: '#000000',
  },
}
SCSS
$custom: #41276c;
$custom-light: #796297;
$custom-dark: #000000;
JSON
{
  "hex": "#41276c",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 262.609,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3442,
    "c": 0.11514,
    "h": 297.3
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#41276C
secondary
#819F50
accent
#D751A4
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #41276C

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

Preview Lab → · Contrast checker → · Palette generator →

#41276C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva