#413161#413161

#413161 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.5% C 0.082 H 297.4°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#413161
RGBrgb(65, 49, 97)
HSLhsl(260, 33%, 29%)
HSVhsv(260, 49%, 38%)
CMYKcmyk(33%, 49.5%, 0%, 62%)
CIE-LABlab(24.27, 19.06, -26.00)
CIE-LCHlch(24.27, 32.24, 306.25°)
OKLaboklab(35.49% 0.0379 -0.0731)
OKLCHoklch(35.49% 0.082 297.4)
XYZxyz(5.4354, 4.1834, 11.8281)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413161 #516131
analogous
#313961 #413161 #593161
triadic
#413161 #614131 #316141
tetradic
#413161 #613139 #516131 #316159
square
#413161 #613139 #516131 #316159
split-complementary
#413161 #615931 #396131
monochromatic
#0E0A14 #261C38 #413161 #5C468A #795EAE

Accessibility & contrast

On white

11.43
#413161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#413161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413161
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413161#FFFFFF#000000##FFFFFF
##4131611.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A63
Deuteranopia (green-blind)
#253960
Tritanopia (blue-blind)
#3A3A44
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #413161;
/* rgb */ color: rgb(65, 49, 97);
/* oklch */ color: oklch(35.5% 0.082 297.4);
Tailwind
colors: {
  custom: {
    50: '#77698e',
    500: '#413161',
    950: '#000000',
  },
}
SCSS
$custom: #413161;
$custom-light: #77698e;
$custom-dark: #000000;
JSON
{
  "hex": "#413161",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 260,
    "s": 32.877,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35488,
    "c": 0.08231,
    "h": 297.4
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#413161
secondary
#80925C
accent
#C95FA6
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #413161

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

Preview Lab → · Contrast checker → · Palette generator →

#413161 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva