#412394#412394

#412394 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.171 H 287.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#412394
RGBrgb(65, 35, 148)
HSLhsl(256, 62%, 36%)
HSVhsv(256, 76%, 58%)
CMYKcmyk(56.1%, 76.4%, 0%, 42%)
CIE-LABlab(25.15, 42.89, -56.91)
CIE-LCHlch(25.15, 71.26, 307.01°)
OKLaboklab(37.39% 0.0502 -0.1637)
OKLCHoklch(37.39% 0.171 287)
XYZxyz(8.1247, 4.4636, 28.4447)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412394 #769423
analogous
#233D94 #412394 #792394
triadic
#412394 #944123 #239441
tetradic
#412394 #94233D #769423 #239479
square
#412394 #94233D #769423 #239479
split-complementary
#412394 #947923 #3D9423
monochromatic
#160C31 #2B1763 #412394 #572FC5 #7B5AD8

Accessibility & contrast

On white

11.09
#412394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412394
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412394#FFFFFF#000000##FFFFFF
##4123941.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#1D425A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412394;
/* rgb */ color: rgb(65, 35, 148);
/* oklch */ color: oklch(37.4% 0.171 287.0);
Tailwind
colors: {
  custom: {
    50: '#7f61b4',
    500: '#412394',
    950: '#000000',
  },
}
SCSS
$custom: #412394;
$custom-light: #7f61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412394",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 255.929,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.17127,
    "h": 287
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#412394
secondary
#A1BC57
accent
#E543BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412394

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

Preview Lab → · Contrast checker → · Palette generator →

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