#413193#413193

#413193 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.153 H 284.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#413193
RGBrgb(65, 49, 147)
HSLhsl(250, 50%, 38%)
HSVhsv(250, 67%, 58%)
CMYKcmyk(55.8%, 66.7%, 0%, 42.4%)
CIE-LABlab(27.92, 34.68, -51.76)
CIE-LCHlch(27.92, 62.30, 303.82°)
OKLaboklab(39.33% 0.0379 -0.1487)
OKLCHoklch(39.33% 0.153 284.3)
XYZxyz(8.5431, 5.4265, 28.1954)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413193 #839331
analogous
#315293 #413193 #723193
triadic
#413193 #934131 #319341
tetradic
#413193 #933152 #839331 #319372
square
#413193 #933152 #839331 #319372
split-complementary
#413193 #937231 #529331
monochromatic
#181237 #2D2265 #413193 #5641C0 #7F6FCF

Accessibility & contrast

On white

10.07
#413193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#413193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413193
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413193#FFFFFF#000000##FFFFFF
##4131931.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#1C495D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #413193;
/* rgb */ color: rgb(65, 49, 147);
/* oklch */ color: oklch(39.3% 0.153 284.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ab4',
    500: '#413193',
    950: '#000000',
  },
}
SCSS
$custom: #413193;
$custom-light: #7e6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#413193",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 249.796,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.15345,
    "h": 284.3
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#413193
secondary
#AAB769
accent
#DA4EC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #413193

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

Preview Lab → · Contrast checker → · Palette generator →

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