#412378#412378

#412378 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.137 H 294.4°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#412378
RGBrgb(65, 35, 120)
HSLhsl(261, 55%, 30%)
HSVhsv(261, 71%, 47%)
CMYKcmyk(45.8%, 70.8%, 0%, 52.9%)
CIE-LABlab(22.59, 34.61, -43.54)
CIE-LCHlch(22.59, 55.62, 308.49°)
OKLaboklab(34.78% 0.0564 -0.1245)
OKLCHoklch(34.78% 0.137 294.4)
XYZxyz(6.1703, 3.6818, 18.1512)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412378 #5A7823
analogous
#233078 #412378 #6B2378
triadic
#412378 #784123 #237841
tetradic
#412378 #782330 #5A7823 #23786B
square
#412378 #782330 #5A7823 #23786B
split-complementary
#412378 #786B23 #307823
monochromatic
#0E0719 #271549 #412378 #5B31A7 #784BCA

Accessibility & contrast

On white

12.09
#412378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#412378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412378
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412378#FFFFFF#000000##FFFFFF
##4123781.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#32384A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412378;
/* rgb */ color: rgb(65, 35, 120);
/* oklch */ color: oklch(34.8% 0.137 294.4);
Tailwind
colors: {
  custom: {
    50: '#7b60a0',
    500: '#412378',
    950: '#000000',
  },
}
SCSS
$custom: #412378;
$custom-light: #7b60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412378",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 261.176,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.1367,
    "h": 294.4
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#412378
secondary
#89AB4C
accent
#DE4AAA
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #412378

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

Preview Lab → · Contrast checker → · Palette generator →

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