#41317A#41317A

#41317A is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.3% C 0.119 H 289.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#41317A
RGBrgb(65, 49, 122)
HSLhsl(253, 43%, 34%)
HSVhsv(253, 60%, 48%)
CMYKcmyk(46.7%, 59.8%, 0%, 52.2%)
CIE-LABlab(25.94, 26.70, -39.38)
CIE-LCHlch(25.94, 47.58, 304.14°)
OKLaboklab(37.27% 0.0396 -0.1123)
OKLCHoklch(37.27% 0.119 289.4)
XYZxyz(6.7901, 4.7253, 18.9629)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41317A #6A7A31
analogous
#31457A #41317A #65317A
triadic
#41317A #7A4131 #317A41
tetradic
#41317A #7A3145 #6A7A31 #317A65
square
#41317A #7A3145 #6A7A31 #317A65
split-complementary
#41317A #7A6531 #457A31
monochromatic
#120E23 #2A1F4E #41317A #5843A6 #7964C1

Accessibility & contrast

On white

10.80
#41317A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#41317A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41317A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41317A#FFFFFF#000000##FFFFFF
##41317A1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7C
Deuteranopia (green-blind)
#053C78
Tritanopia (blue-blind)
#304150
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #41317a;
/* rgb */ color: rgb(65, 49, 122);
/* oklch */ color: oklch(37.3% 0.119 289.4);
Tailwind
colors: {
  custom: {
    50: '#7a69a1',
    500: '#41317a',
    950: '#000000',
  },
}
SCSS
$custom: #41317a;
$custom-light: #7a69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#41317a",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 253.151,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37266,
    "c": 0.11909,
    "h": 289.4
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#41317A
secondary
#98A85E
accent
#D255B7
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #41317A

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

Preview Lab → · Contrast checker → · Palette generator →

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