#41277A#41277A

#41277A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.134 H 292.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#41277A
RGBrgb(65, 39, 122)
HSLhsl(259, 52%, 32%)
HSVhsv(259, 68%, 48%)
CMYKcmyk(46.7%, 68%, 0%, 52.2%)
CIE-LABlab(23.60, 32.89, -43.16)
CIE-LCHlch(23.60, 54.26, 307.31°)
OKLaboklab(35.57% 0.0516 -0.1234)
OKLCHoklch(35.57% 0.134 292.7)
XYZxyz(6.4174, 3.9798, 18.8386)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41277A #607A27
analogous
#27377A #41277A #6B277A
triadic
#41277A #7A4127 #277A41
tetradic
#41277A #7A2737 #607A27 #277A6B
square
#41277A #7A2737 #607A27 #277A6B
split-complementary
#41277A #7A6B27 #377A27
monochromatic
#10091D #28184C #41277A #5A36A8 #7853C8

Accessibility & contrast

On white

11.69
#41277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#41277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41277A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41277A#FFFFFF#000000##FFFFFF
##41277A1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#303B4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #41277a;
/* rgb */ color: rgb(65, 39, 122);
/* oklch */ color: oklch(35.6% 0.134 292.7);
Tailwind
colors: {
  custom: {
    50: '#7b63a1',
    500: '#41277a',
    950: '#000000',
  },
}
SCSS
$custom: #41277a;
$custom-light: #7b63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#41277a",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 258.795,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35565,
    "c": 0.1338,
    "h": 292.7
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#41277A
secondary
#8FAC51
accent
#DB4DAE
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41277A

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

Preview Lab → · Contrast checker → · Palette generator →

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