#413259#413259

#413259 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.2% C 0.068 H 300.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#413259
RGBrgb(65, 50, 89)
HSLhsl(263, 28%, 27%)
HSVhsv(263, 44%, 35%)
CMYKcmyk(27%, 43.8%, 0%, 65.1%)
CIE-LABlab(24.08, 16.10, -21.05)
CIE-LCHlch(24.08, 26.50, 307.40°)
OKLaboklab(35.2% 0.0348 -0.0587)
OKLCHoklch(35.2% 0.068 300.7)
XYZxyz(5.1233, 4.1263, 9.9758)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413259 #4A5932
analogous
#323659 #413259 #553259
triadic
#413259 #594132 #325941
tetradic
#413259 #593236 #4A5932 #325955
square
#413259 #593236 #4A5932 #325955
split-complementary
#413259 #595532 #365932
monochromatic
#0E0B14 #241C32 #413259 #5E4880 #7B60A6

Accessibility & contrast

On white

11.51
#413259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#413259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413259
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413259#FFFFFF#000000##FFFFFF
##4132591.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#3D3941
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #413259;
/* rgb */ color: rgb(65, 50, 89);
/* oklch */ color: oklch(35.2% 0.068 300.7);
Tailwind
colors: {
  custom: {
    50: '#766a88',
    500: '#413259',
    950: '#000000',
  },
}
SCSS
$custom: #413259;
$custom-light: #766a88;
$custom-dark: #000000;
JSON
{
  "hex": "#413259",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 89
  },
  "hsl": {
    "h": 263.077,
    "s": 28.058,
    "l": 27.255
  },
  "oklch": {
    "l": 0.352,
    "c": 0.06823,
    "h": 300.7
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#413259
secondary
#798A5D
accent
#C4639F
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #413259

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

Preview Lab → · Contrast checker → · Palette generator →

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