#413167#413167

#413167 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.9% C 0.091 H 295.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#413167
RGBrgb(65, 49, 103)
HSLhsl(258, 36%, 30%)
HSVhsv(258, 52%, 40%)
CMYKcmyk(36.9%, 52.4%, 0%, 59.6%)
CIE-LABlab(24.64, 20.84, -29.31)
CIE-LCHlch(24.64, 35.97, 305.41°)
OKLaboklab(35.89% 0.0387 -0.0827)
OKLCHoklch(35.89% 0.091 295.1)
XYZxyz(5.7258, 4.2996, 13.3576)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413167 #576731
analogous
#313C67 #413167 #5C3167
triadic
#413167 #674131 #316741
tetradic
#413167 #67313C #576731 #31675C
square
#413167 #67313C #576731 #31675C
split-complementary
#413167 #675C31 #3C6731
monochromatic
#0D0A15 #271D3E #413167 #5B4590 #785FB3

Accessibility & contrast

On white

11.29
#413167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#413167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413167
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413167#FFFFFF#000000##FFFFFF
##4131671.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B69
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#383C47
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #413167;
/* rgb */ color: rgb(65, 49, 103);
/* oklch */ color: oklch(35.9% 0.091 295.1);
Tailwind
colors: {
  custom: {
    50: '#786993',
    500: '#413167',
    950: '#000000',
  },
}
SCSS
$custom: #413167;
$custom-light: #786993;
$custom-dark: #000000;
JSON
{
  "hex": "#413167",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 257.778,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.09133,
    "h": 295.1
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#413167
secondary
#86985C
accent
#CC5CAB
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #413167

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

Preview Lab → · Contrast checker → · Palette generator →

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