#413182#413182

#413182 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.130 H 287.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#413182
RGBrgb(65, 49, 130)
HSLhsl(252, 45%, 35%)
HSVhsv(252, 62%, 51%)
CMYKcmyk(50%, 62.3%, 0%, 49%)
CIE-LABlab(26.54, 29.24, -43.45)
CIE-LCHlch(26.54, 52.37, 303.94°)
OKLaboklab(37.9% 0.0394 -0.1243)
OKLCHoklch(37.9% 0.13 287.6)
XYZxyz(7.3064, 4.9318, 21.6817)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413182 #728231
analogous
#314982 #413182 #693182
triadic
#413182 #824131 #318241
tetradic
#413182 #823149 #728231 #318269
square
#413182 #823149 #728231 #318269
split-complementary
#413182 #826931 #498231
monochromatic
#150F29 #2B2056 #413182 #5742AE #7A68C6

Accessibility & contrast

On white

10.57
#413182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#413182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413182
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413182#FFFFFF#000000##FFFFFF
##4131821.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#2B4454
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413182;
/* rgb */ color: rgb(65, 49, 130);
/* oklch */ color: oklch(37.9% 0.130 287.6);
Tailwind
colors: {
  custom: {
    50: '#7b6aa7',
    500: '#413182',
    950: '#000000',
  },
}
SCSS
$custom: #413182;
$custom-light: #7b6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#413182",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 251.852,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37899,
    "c": 0.13035,
    "h": 287.6
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#413182
secondary
#9EAD62
accent
#D553BB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #413182

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

Preview Lab → · Contrast checker → · Palette generator →

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