#41277F#41277F

#41277F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.140 H 291.3°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#41277F
RGBrgb(65, 39, 127)
HSLhsl(258, 53%, 33%)
HSVhsv(258, 69%, 50%)
CMYKcmyk(48.8%, 69.3%, 0%, 50.2%)
CIE-LABlab(24.02, 34.40, -45.65)
CIE-LCHlch(24.02, 57.16, 307.00°)
OKLaboklab(36% 0.0509 -0.1307)
OKLCHoklch(36% 0.14 291.3)
XYZxyz(6.7352, 4.1069, 20.5124)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41277F #657F27
analogous
#27397F #41277F #6D277F
triadic
#41277F #7F4127 #277F41
tetradic
#41277F #7F2739 #657F27 #277F6D
square
#41277F #7F2739 #657F27 #277F6D
split-complementary
#41277F #7F6D27 #397F27
monochromatic
#110A21 #291950 #41277F #5935AE #7855CB

Accessibility & contrast

On white

11.53
#41277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41277F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41277F#FFFFFF#000000##FFFFFF
##41277F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#2E3D4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #41277f;
/* rgb */ color: rgb(65, 39, 127);
/* oklch */ color: oklch(36.0% 0.140 291.3);
Tailwind
colors: {
  custom: {
    50: '#7c63a5',
    500: '#41277f',
    950: '#000000',
  },
}
SCSS
$custom: #41277f;
$custom-light: #7c63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#41277f",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 257.727,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35996,
    "c": 0.14031,
    "h": 291.3
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#41277F
secondary
#94B052
accent
#DC4BB2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #41277F

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

Preview Lab → · Contrast checker → · Palette generator →

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