#41277C#41277C

#41277C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.136 H 292.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#41277C
RGBrgb(65, 39, 124)
HSLhsl(258, 52%, 32%)
HSVhsv(258, 69%, 49%)
CMYKcmyk(47.6%, 68.5%, 0%, 51.4%)
CIE-LABlab(23.77, 33.49, -44.16)
CIE-LCHlch(23.77, 55.43, 307.18°)
OKLaboklab(35.74% 0.0514 -0.1264)
OKLCHoklch(35.74% 0.136 292.1)
XYZxyz(6.5426, 4.0299, 19.4980)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41277C #627C27
analogous
#27387C #41277C #6C277C
triadic
#41277C #7C4127 #277C41
tetradic
#41277C #7C2738 #627C27 #277C6C
square
#41277C #7C2738 #627C27 #277C6C
split-complementary
#41277C #7C6C27 #387C27
monochromatic
#100A1F #29184D #41277C #5936AB #7854C9

Accessibility & contrast

On white

11.63
#41277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#41277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41277C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41277C#FFFFFF#000000##FFFFFF
##41277C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#2F3C4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41277c;
/* rgb */ color: rgb(65, 39, 124);
/* oklch */ color: oklch(35.7% 0.136 292.1);
Tailwind
colors: {
  custom: {
    50: '#7b63a3',
    500: '#41277c',
    950: '#000000',
  },
}
SCSS
$custom: #41277c;
$custom-light: #7b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41277c",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 258.353,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35736,
    "c": 0.13641,
    "h": 292.1
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#41277C
secondary
#91AE51
accent
#DC4CB0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41277C

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

Preview Lab → · Contrast checker → · Palette generator →

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