#41327F#41327F

#41327F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.8% C 0.125 H 287.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#41327F
RGBrgb(65, 50, 127)
HSLhsl(252, 44%, 35%)
HSVhsv(252, 61%, 50%)
CMYKcmyk(48.8%, 60.6%, 0%, 50.2%)
CIE-LABlab(26.55, 27.65, -41.54)
CIE-LCHlch(26.55, 49.90, 303.65°)
OKLaboklab(37.84% 0.0383 -0.1186)
OKLCHoklch(37.84% 0.125 287.9)
XYZxyz(7.1502, 4.9370, 20.6508)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41327F #707F32
analogous
#324A7F #41327F #68327F
triadic
#41327F #7F4132 #327F41
tetradic
#41327F #7F324A #707F32 #327F68
square
#41327F #7F324A #707F32 #327F68
split-complementary
#41327F #7F6832 #4A7F32
monochromatic
#140F27 #2B2153 #41327F #5743AB #7A68C4

Accessibility & contrast

On white

10.57
#41327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#41327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41327F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41327F#FFFFFF#000000##FFFFFF
##41327F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#2D4353
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #41327f;
/* rgb */ color: rgb(65, 50, 127);
/* oklch */ color: oklch(37.8% 0.125 287.9);
Tailwind
colors: {
  custom: {
    50: '#7b6aa5',
    500: '#41327f',
    950: '#000000',
  },
}
SCSS
$custom: #41327f;
$custom-light: #7b6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#41327f",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 251.688,
    "s": 43.503,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37838,
    "c": 0.12468,
    "h": 287.9
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#41327F
secondary
#9DAB62
accent
#D355BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41327F

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

Preview Lab → · Contrast checker → · Palette generator →

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