#41277D#41277D

#41277D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.138 H 291.8°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#41277D
RGBrgb(65, 39, 125)
HSLhsl(258, 52%, 32%)
HSVhsv(258, 69%, 49%)
CMYKcmyk(48%, 68.8%, 0%, 51%)
CIE-LABlab(23.85, 33.79, -44.66)
CIE-LCHlch(23.85, 56.00, 307.12°)
OKLaboklab(35.82% 0.0512 -0.1278)
OKLCHoklch(35.82% 0.138 291.8)
XYZxyz(6.6061, 4.0553, 19.8327)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41277D #637D27
analogous
#27387D #41277D #6C277D
triadic
#41277D #7D4127 #277D41
tetradic
#41277D #7D2738 #637D27 #277D6C
square
#41277D #7D2738 #637D27 #277D6C
split-complementary
#41277D #7D6C27 #387D27
monochromatic
#100A20 #29184E #41277D #5936AC #7855CA

Accessibility & contrast

On white

11.59
#41277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41277D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41277D#FFFFFF#000000##FFFFFF
##41277D1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #41277d;
/* rgb */ color: rgb(65, 39, 125);
/* oklch */ color: oklch(35.8% 0.138 291.8);
Tailwind
colors: {
  custom: {
    50: '#7b63a3',
    500: '#41277d',
    950: '#000000',
  },
}
SCSS
$custom: #41277d;
$custom-light: #7b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#41277d",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 258.14,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.13771,
    "h": 291.8
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#41277D
secondary
#92AF51
accent
#DC4CB0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41277D

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

Preview Lab → · Contrast checker → · Palette generator →

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