#41337F#41337F

#41337F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.0% C 0.123 H 287.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#41337F
RGBrgb(65, 51, 127)
HSLhsl(251, 43%, 35%)
HSVhsv(251, 60%, 50%)
CMYKcmyk(48.8%, 59.8%, 0%, 50.2%)
CIE-LABlab(26.80, 27.01, -41.14)
CIE-LCHlch(26.80, 49.21, 303.28°)
OKLaboklab(38.02% 0.0371 -0.1175)
OKLCHoklch(38.02% 0.123 287.5)
XYZxyz(7.1935, 5.0235, 20.6652)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41337F #717F33
analogous
#334B7F #41337F #67337F
triadic
#41337F #7F4133 #337F41
tetradic
#41337F #7F334B #717F33 #337F67
square
#41337F #7F334B #717F33 #337F67
split-complementary
#41337F #7F6733 #4B7F33
monochromatic
#141028 #2B2153 #41337F #5745AB #7A69C3

Accessibility & contrast

On white

10.47
#41337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#41337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41337F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41337F#FFFFFF#000000##FFFFFF
##41337F1.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #41337f;
/* rgb */ color: rgb(65, 51, 127);
/* oklch */ color: oklch(38.0% 0.123 287.5);
Tailwind
colors: {
  custom: {
    50: '#7b6ba5',
    500: '#41337f',
    950: '#000000',
  },
}
SCSS
$custom: #41337f;
$custom-light: #7b6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#41337f",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 251.053,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3802,
    "c": 0.12318,
    "h": 287.5
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#41337F
secondary
#9EAB63
accent
#D255BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41337F

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

Preview Lab → · Contrast checker → · Palette generator →

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