#413179#413179

#413179 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.2% C 0.118 H 289.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#413179
RGBrgb(65, 49, 121)
HSLhsl(253, 42%, 33%)
HSVhsv(253, 60%, 47%)
CMYKcmyk(46.3%, 59.5%, 0%, 52.5%)
CIE-LABlab(25.86, 26.39, -38.87)
CIE-LCHlch(25.86, 46.98, 304.17°)
OKLaboklab(37.19% 0.0396 -0.1108)
OKLCHoklch(37.19% 0.118 289.7)
XYZxyz(6.7285, 4.7007, 18.6383)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413179 #697931
analogous
#314579 #413179 #653179
triadic
#413179 #794131 #317941
tetradic
#413179 #793145 #697931 #317965
square
#413179 #793145 #697931 #317965
split-complementary
#413179 #796531 #457931
monochromatic
#120E22 #2A1F4D #413179 #5843A5 #7964C0

Accessibility & contrast

On white

10.82
#413179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#413179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413179
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413179#FFFFFF#000000##FFFFFF
##4131791.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043F7B
Deuteranopia (green-blind)
#073C77
Tritanopia (blue-blind)
#304150
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413179;
/* rgb */ color: rgb(65, 49, 121);
/* oklch */ color: oklch(37.2% 0.118 289.7);
Tailwind
colors: {
  custom: {
    50: '#7a69a0',
    500: '#413179',
    950: '#000000',
  },
}
SCSS
$custom: #413179;
$custom-light: #7a69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#413179",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 253.333,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37189,
    "c": 0.11766,
    "h": 289.7
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#413179
secondary
#97A85E
accent
#D256B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #413179

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

Preview Lab → · Contrast checker → · Palette generator →

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