#412374#412374

#412374 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.132 H 295.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#412374
RGBrgb(65, 35, 116)
HSLhsl(262, 54%, 30%)
HSVhsv(262, 70%, 45%)
CMYKcmyk(44%, 69.8%, 0%, 54.5%)
CIE-LABlab(22.26, 33.45, -41.52)
CIE-LCHlch(22.26, 53.32, 308.85°)
OKLaboklab(34.44% 0.057 -0.1186)
OKLCHoklch(34.44% 0.132 295.7)
XYZxyz(5.9326, 3.5867, 16.8993)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412374 #567423
analogous
#232E74 #412374 #6A2374
triadic
#412374 #744123 #237441
tetradic
#412374 #74232E #567423 #23746A
square
#412374 #74232E #567423 #23746A
split-complementary
#412374 #746A23 #2E7423
monochromatic
#0D0718 #271545 #412374 #5B31A3 #7849C8

Accessibility & contrast

On white

12.23
#412374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#412374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412374
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412374#FFFFFF#000000##FFFFFF
##4123741.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#343648
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412374;
/* rgb */ color: rgb(65, 35, 116);
/* oklch */ color: oklch(34.4% 0.132 295.7);
Tailwind
colors: {
  custom: {
    50: '#7a609d',
    500: '#412374',
    950: '#000000',
  },
}
SCSS
$custom: #412374;
$custom-light: #7a609d;
$custom-dark: #000000;
JSON
{
  "hex": "#412374",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 262.222,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34438,
    "c": 0.1316,
    "h": 295.7
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#412374
secondary
#85A74C
accent
#DD4BA7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412374

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

Preview Lab → · Contrast checker → · Palette generator →

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