#413183#413183

#413183 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.0% C 0.132 H 287.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#413183
RGBrgb(65, 49, 131)
HSLhsl(252, 46%, 35%)
HSVhsv(252, 63%, 51%)
CMYKcmyk(50.4%, 62.6%, 0%, 48.6%)
CIE-LABlab(26.62, 29.56, -43.95)
CIE-LCHlch(26.62, 52.96, 303.92°)
OKLaboklab(37.98% 0.0393 -0.1257)
OKLCHoklch(37.98% 0.132 287.4)
XYZxyz(7.3738, 4.9588, 22.0369)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413183 #738331
analogous
#314A83 #413183 #6A3183
triadic
#413183 #834131 #318341
tetradic
#413183 #83314A #738331 #31836A
square
#413183 #83314A #738331 #31836A
split-complementary
#413183 #836A31 #4A8331
monochromatic
#15102A #2B2056 #413183 #5742B0 #7A68C6

Accessibility & contrast

On white

10.54
#413183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #413183
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413183#FFFFFF#000000##FFFFFF
##4131831.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#2A4455
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #413183;
/* rgb */ color: rgb(65, 49, 131);
/* oklch */ color: oklch(38.0% 0.132 287.4);
Tailwind
colors: {
  custom: {
    50: '#7b6aa8',
    500: '#413183',
    950: '#000000',
  },
}
SCSS
$custom: #413183;
$custom-light: #7b6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#413183",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 251.707,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37981,
    "c": 0.13173,
    "h": 287.4
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#413183
secondary
#9FAE62
accent
#D553BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #413183

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

Preview Lab → · Contrast checker → · Palette generator →

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