#413078#413078

#413078 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.9% C 0.118 H 290.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#413078
RGBrgb(65, 48, 120)
HSLhsl(254, 43%, 33%)
HSVhsv(254, 60%, 47%)
CMYKcmyk(45.8%, 60%, 0%, 52.9%)
CIE-LABlab(25.54, 26.71, -38.75)
CIE-LCHlch(25.54, 47.07, 304.58°)
OKLaboklab(36.93% 0.0409 -0.1104)
OKLCHoklch(36.93% 0.118 290.3)
XYZxyz(6.6261, 4.5936, 18.3032)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413078 #677830
analogous
#304378 #413078 #653078
triadic
#413078 #784130 #307841
tetradic
#413078 #783043 #677830 #307865
square
#413078 #783043 #677830 #307865
split-complementary
#413078 #786530 #437830
monochromatic
#120D21 #291F4C #413078 #5941A4 #7862C0

Accessibility & contrast

On white

10.94
#413078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#413078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413078
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413078#FFFFFF#000000##FFFFFF
##4130781.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7A
Deuteranopia (green-blind)
#073B76
Tritanopia (blue-blind)
#31404F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #413078;
/* rgb */ color: rgb(65, 48, 120);
/* oklch */ color: oklch(36.9% 0.118 290.3);
Tailwind
colors: {
  custom: {
    50: '#7a699f',
    500: '#413078',
    950: '#000000',
  },
}
SCSS
$custom: #413078;
$custom-light: #7a699f;
$custom-dark: #000000;
JSON
{
  "hex": "#413078",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 254.167,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36929,
    "c": 0.11777,
    "h": 290.3
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#413078
secondary
#96A75C
accent
#D355B5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #413078

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

Preview Lab → · Contrast checker → · Palette generator →

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