#413278#413278

#413278 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.3% C 0.115 H 289.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#413278
RGBrgb(65, 50, 120)
HSLhsl(253, 41%, 33%)
HSVhsv(253, 58%, 47%)
CMYKcmyk(45.8%, 58.3%, 0%, 52.9%)
CIE-LABlab(26.04, 25.43, -37.95)
CIE-LCHlch(26.04, 45.68, 303.83°)
OKLaboklab(37.3% 0.0383 -0.1081)
OKLCHoklch(37.3% 0.115 289.5)
XYZxyz(6.7098, 4.7609, 18.3311)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413278 #697832
analogous
#324678 #413278 #643278
triadic
#413278 #784132 #327841
tetradic
#413278 #783246 #697832 #327864
square
#413278 #783246 #697832 #327864
split-complementary
#413278 #786432 #467832
monochromatic
#120E22 #2A204D #413278 #5844A3 #7965BF

Accessibility & contrast

On white

10.76
#413278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#413278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413278
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413278#FFFFFF#000000##FFFFFF
##4132781.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3F7A
Deuteranopia (green-blind)
#0D3C76
Tritanopia (blue-blind)
#314150
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #413278;
/* rgb */ color: rgb(65, 50, 120);
/* oklch */ color: oklch(37.3% 0.115 289.5);
Tailwind
colors: {
  custom: {
    50: '#7a6a9f',
    500: '#413278',
    950: '#000000',
  },
}
SCSS
$custom: #413278;
$custom-light: #7a6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#413278",
  "rgb": {
    "r": 65,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 252.857,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.11468,
    "h": 289.5
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#413278
secondary
#97A75F
accent
#D157B7
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #413278

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

Preview Lab → · Contrast checker → · Palette generator →

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