#41276F#41276F

#41276F is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.7% C 0.119 H 296.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#41276F
RGBrgb(65, 39, 111)
HSLhsl(262, 48%, 29%)
HSVhsv(262, 65%, 44%)
CMYKcmyk(41.4%, 64.9%, 0%, 56.5%)
CIE-LABlab(22.73, 29.61, -37.54)
CIE-LCHlch(22.73, 47.81, 308.26°)
OKLaboklab(34.66% 0.0527 -0.1069)
OKLCHoklch(34.66% 0.119 296.3)
XYZxyz(5.7740, 3.7224, 15.4501)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41276F #556F27
analogous
#27316F #41276F #65276F
triadic
#41276F #6F4127 #276F41
tetradic
#41276F #6F2731 #556F27 #276F65
square
#41276F #6F2731 #556F27 #276F65
split-complementary
#41276F #6F6527 #316F27
monochromatic
#0D0817 #261742 #41276F #5C379C #784FC1

Accessibility & contrast

On white

12.04
#41276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#41276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41276F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41276F#FFFFFF#000000##FFFFFF
##41276F1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#02356D
Tritanopia (blue-blind)
#363747
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #41276f;
/* rgb */ color: rgb(65, 39, 111);
/* oklch */ color: oklch(34.7% 0.119 296.3);
Tailwind
colors: {
  custom: {
    50: '#796299',
    500: '#41276f',
    950: '#000000',
  },
}
SCSS
$custom: #41276f;
$custom-light: #796299;
$custom-dark: #000000;
JSON
{
  "hex": "#41276f",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 261.667,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34657,
    "c": 0.11918,
    "h": 296.3
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#41276F
secondary
#84A250
accent
#D850A7
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #41276F

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

Preview Lab → · Contrast checker → · Palette generator →

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