#413772#413772

#413772 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 37.8% C 0.098 H 288.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#413772
RGBrgb(65, 55, 114)
HSLhsl(250, 35%, 33%)
HSVhsv(250, 52%, 45%)
CMYKcmyk(43%, 51.8%, 0%, 55.3%)
CIE-LABlab(26.94, 20.26, -32.70)
CIE-LCHlch(26.94, 38.47, 301.78°)
OKLaboklab(37.83% 0.0312 -0.0927)
OKLCHoklch(37.83% 0.098 288.6)
XYZxyz(6.5826, 5.0709, 16.5483)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413772 #687237
analogous
#374A72 #413772 #5E3772
triadic
#413772 #724137 #377241
tetradic
#413772 #72374A #687237 #37725E
square
#413772 #72374A #687237 #37725E
split-complementary
#413772 #725E37 #4A7237
monochromatic
#120F1F #292349 #413772 #594B9B #786CB8

Accessibility & contrast

On white

10.43
#413772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#413772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413772
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413772#FFFFFF#000000##FFFFFF
##4137721.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#1F3E71
Tritanopia (blue-blind)
#33434F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #413772;
/* rgb */ color: rgb(65, 55, 114);
/* oklch */ color: oklch(37.8% 0.098 288.6);
Tailwind
colors: {
  custom: {
    50: '#796e9b',
    500: '#413772',
    950: '#000000',
  },
}
SCSS
$custom: #413772;
$custom-light: #796e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#413772",
  "rgb": {
    "r": 65,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 250.169,
    "s": 34.911,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37831,
    "c": 0.09779,
    "h": 288.6
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#413772
secondary
#97A164
accent
#CB5DB8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #413772

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

Preview Lab → · Contrast checker → · Palette generator →

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