#41277E#41277E

#41277E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.139 H 291.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#41277E
RGBrgb(65, 39, 126)
HSLhsl(258, 53%, 32%)
HSVhsv(258, 69%, 49%)
CMYKcmyk(48.4%, 69%, 0%, 50.6%)
CIE-LABlab(23.94, 34.10, -45.15)
CIE-LCHlch(23.94, 56.58, 307.06°)
OKLaboklab(35.91% 0.0511 -0.1293)
OKLCHoklch(35.91% 0.139 291.6)
XYZxyz(6.6703, 4.0810, 20.1709)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41277E #647E27
analogous
#27397E #41277E #6D277E
triadic
#41277E #7E4127 #277E41
tetradic
#41277E #7E2739 #647E27 #277E6D
square
#41277E #7E2739 #647E27 #277E6D
split-complementary
#41277E #7E6D27 #397E27
monochromatic
#110A21 #29194F #41277E #5935AD #7855CA

Accessibility & contrast

On white

11.56
#41277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#41277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41277E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41277E#FFFFFF#000000##FFFFFF
##41277E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#2E3C4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41277e;
/* rgb */ color: rgb(65, 39, 126);
/* oklch */ color: oklch(35.9% 0.139 291.6);
Tailwind
colors: {
  custom: {
    50: '#7b63a4',
    500: '#41277e',
    950: '#000000',
  },
}
SCSS
$custom: #41277e;
$custom-light: #7b63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#41277e",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 257.931,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35909,
    "c": 0.13902,
    "h": 291.6
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#41277E
secondary
#93AF52
accent
#DC4CB1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41277E

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

Preview Lab → · Contrast checker → · Palette generator →

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