#413261#413261

#413261 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.7% C 0.080 H 296.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#413261
RGBrgb(65, 50, 97)
HSLhsl(259, 32%, 29%)
HSVhsv(259, 48%, 38%)
CMYKcmyk(33%, 48.5%, 0%, 62%)
CIE-LABlab(24.54, 18.40, -25.57)
CIE-LCHlch(24.54, 31.50, 305.73°)
OKLaboklab(35.69% 0.0363 -0.0718)
OKLCHoklch(35.69% 0.08 296.8)
XYZxyz(5.4777, 4.2680, 11.8422)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413261 #526132
analogous
#323B61 #413261 #593261
triadic
#413261 #614132 #326141
tetradic
#413261 #61323B #526132 #326159
square
#413261 #61323B #526132 #326159
split-complementary
#413261 #615932 #3B6132
monochromatic
#0E0A14 #261D39 #413261 #5C4789 #7960AD

Accessibility & contrast

On white

11.33
#413261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#413261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413261
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413261#FFFFFF#000000##FFFFFF
##4132611.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A63
Deuteranopia (green-blind)
#263A60
Tritanopia (blue-blind)
#3A3B44
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #413261;
/* rgb */ color: rgb(65, 50, 97);
/* oklch */ color: oklch(35.7% 0.080 296.8);
Tailwind
colors: {
  custom: {
    50: '#776a8e',
    500: '#413261',
    950: '#000000',
  },
}
SCSS
$custom: #413261;
$custom-light: #776a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#413261",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 259.149,
    "s": 31.973,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35691,
    "c": 0.08049,
    "h": 296.8
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#413261
secondary
#81925D
accent
#C860A7
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #413261

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

Preview Lab → · Contrast checker → · Palette generator →

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