#41337E#41337E

#41337E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 37.9% C 0.122 H 287.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#41337E
RGBrgb(65, 51, 126)
HSLhsl(251, 42%, 35%)
HSVhsv(251, 60%, 49%)
CMYKcmyk(48.4%, 59.5%, 0%, 50.6%)
CIE-LABlab(26.73, 26.69, -40.63)
CIE-LCHlch(26.73, 48.61, 303.30°)
OKLaboklab(37.94% 0.0371 -0.116)
OKLCHoklch(37.94% 0.122 287.7)
XYZxyz(7.1286, 4.9975, 20.3236)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41337E #707E33
analogous
#334B7E #41337E #67337E
triadic
#41337E #7E4133 #337E41
tetradic
#41337E #7E334B #707E33 #337E67
square
#41337E #7E334B #707E33 #337E67
split-complementary
#41337E #7E6733 #4B7E33
monochromatic
#141027 #2B2152 #41337E #5745AA #7A69C2

Accessibility & contrast

On white

10.50
#41337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #41337E
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41337E#FFFFFF#000000##FFFFFF
##41337E1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014180
Deuteranopia (green-blind)
#013D7C
Tritanopia (blue-blind)
#2D4453
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #41337e;
/* rgb */ color: rgb(65, 51, 126);
/* oklch */ color: oklch(37.9% 0.122 287.7);
Tailwind
colors: {
  custom: {
    50: '#7b6ba4',
    500: '#41337e',
    950: '#000000',
  },
}
SCSS
$custom: #41337e;
$custom-light: #7b6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#41337e",
  "rgb": {
    "r": 65,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 251.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37942,
    "c": 0.12175,
    "h": 287.7
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#41337E
secondary
#9DAA63
accent
#D256BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41337E

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

Preview Lab → · Contrast checker → · Palette generator →

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