#412376#412376

#412376 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.134 H 295.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#412376
RGBrgb(65, 35, 118)
HSLhsl(262, 54%, 30%)
HSVhsv(262, 70%, 46%)
CMYKcmyk(44.9%, 70.3%, 0%, 53.7%)
CIE-LABlab(22.42, 34.03, -42.53)
CIE-LCHlch(22.42, 54.47, 308.66°)
OKLaboklab(34.61% 0.0567 -0.1216)
OKLCHoklch(34.61% 0.134 295)
XYZxyz(6.0501, 3.6337, 17.5186)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412376 #587623
analogous
#232E76 #412376 #6B2376
triadic
#412376 #764123 #237641
tetradic
#412376 #76232E #587623 #23766B
square
#412376 #76232E #587623 #23766B
split-complementary
#412376 #766B23 #2E7623
monochromatic
#0D0718 #271547 #412376 #5B31A5 #784AC9

Accessibility & contrast

On white

12.16
#412376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#412376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412376
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412376#FFFFFF#000000##FFFFFF
##4123761.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#333749
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412376;
/* rgb */ color: rgb(65, 35, 118);
/* oklch */ color: oklch(34.6% 0.134 295.0);
Tailwind
colors: {
  custom: {
    50: '#7b609e',
    500: '#412376',
    950: '#000000',
  },
}
SCSS
$custom: #412376;
$custom-light: #7b609e;
$custom-dark: #000000;
JSON
{
  "hex": "#412376",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 261.687,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.3461,
    "c": 0.13416,
    "h": 295
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#412376
secondary
#87A94C
accent
#DE4AA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412376

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

Preview Lab → · Contrast checker → · Palette generator →

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