#41277B#41277B

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

Color values

HEX#41277B
RGBrgb(65, 39, 123)
HSLhsl(259, 52%, 32%)
HSVhsv(259, 68%, 48%)
CMYKcmyk(47.2%, 68.3%, 0%, 51.8%)
CIE-LABlab(23.69, 33.19, -43.66)
CIE-LCHlch(23.69, 54.85, 307.24°)
OKLaboklab(35.65% 0.0515 -0.1249)
OKLCHoklch(35.65% 0.135 292.4)
XYZxyz(6.4797, 4.0047, 19.1666)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41277B #617B27
analogous
#27377B #41277B #6B277B
triadic
#41277B #7B4127 #277B41
tetradic
#41277B #7B2737 #617B27 #277B6B
square
#41277B #7B2737 #617B27 #277B6B
split-complementary
#41277B #7B6B27 #377B27
monochromatic
#100A1E #28184D #41277B #5A36A9 #7854C9

Accessibility & contrast

On white

11.66
#41277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41277B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41277B#FFFFFF#000000##FFFFFF
##41277B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#303B4D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #41277b;
/* rgb */ color: rgb(65, 39, 123);
/* oklch */ color: oklch(35.6% 0.135 292.4);
Tailwind
colors: {
  custom: {
    50: '#7b63a2',
    500: '#41277b',
    950: '#000000',
  },
}
SCSS
$custom: #41277b;
$custom-light: #7b63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#41277b",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 258.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3565,
    "c": 0.1351,
    "h": 292.4
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#41277B
secondary
#90AD51
accent
#DB4CAF
background
#F7F5FA
surface
#EEEAF3
border
#C9C6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #41277B

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

Preview Lab → · Contrast checker → · Palette generator →

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