#413162#413162

#413162 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.6% C 0.084 H 297.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#413162
RGBrgb(65, 49, 98)
HSLhsl(260, 33%, 29%)
HSVhsv(260, 50%, 38%)
CMYKcmyk(33.7%, 50%, 0%, 61.6%)
CIE-LABlab(24.33, 19.36, -26.56)
CIE-LCHlch(24.33, 32.86, 306.09°)
OKLaboklab(35.55% 0.0381 -0.0747)
OKLCHoklch(35.55% 0.084 297)
XYZxyz(5.4824, 4.2022, 12.0752)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413162 #526231
analogous
#313A62 #413162 #5A3162
triadic
#413162 #624131 #316241
tetradic
#413162 #62313A #526231 #31625A
square
#413162 #62313A #526231 #31625A
split-complementary
#413162 #625A31 #3A6231
monochromatic
#0E0A14 #261D39 #413162 #5C458B #795FAF

Accessibility & contrast

On white

11.41
#413162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413162
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413162#FFFFFF#000000##FFFFFF
##4131621.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A64
Deuteranopia (green-blind)
#243961
Tritanopia (blue-blind)
#3A3A44
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #413162;
/* rgb */ color: rgb(65, 49, 98);
/* oklch */ color: oklch(35.6% 0.084 297.0);
Tailwind
colors: {
  custom: {
    50: '#77698f',
    500: '#413162',
    950: '#000000',
  },
}
SCSS
$custom: #413162;
$custom-light: #77698f;
$custom-dark: #000000;
JSON
{
  "hex": "#413162",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 259.592,
    "s": 33.333,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.08382,
    "h": 297
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#413162
secondary
#81935C
accent
#C95EA6
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #413162

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

Preview Lab → · Contrast checker → · Palette generator →

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