#412094#412094

#412094 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.174 H 287.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#412094
RGBrgb(65, 32, 148)
HSLhsl(257, 64%, 35%)
HSVhsv(257, 78%, 58%)
CMYKcmyk(56.1%, 78.4%, 0%, 42%)
CIE-LABlab(24.62, 44.39, -57.77)
CIE-LCHlch(24.62, 72.86, 307.54°)
OKLaboklab(37.02% 0.0525 -0.1662)
OKLCHoklch(37.02% 0.174 287.5)
XYZxyz(8.0402, 4.2945, 28.4165)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412094 #739420
analogous
#203994 #412094 #7B2094
triadic
#412094 #944120 #209441
tetradic
#412094 #942039 #739420 #20947B
square
#412094 #942039 #739420 #20947B
split-complementary
#412094 #947B20 #399420
monochromatic
#150A2F #2B1562 #412094 #572BC6 #7A54DA

Accessibility & contrast

On white

11.30
#412094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412094
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412094#FFFFFF#000000##FFFFFF
##4120941.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#1D4159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412094;
/* rgb */ color: rgb(65, 32, 148);
/* oklch */ color: oklch(37.0% 0.174 287.5);
Tailwind
colors: {
  custom: {
    50: '#8060b5',
    500: '#412094',
    950: '#000000',
  },
}
SCSS
$custom: #412094;
$custom-light: #8060b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412094",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 257.069,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37017,
    "c": 0.17433,
    "h": 287.5
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#412094
secondary
#9FBE52
accent
#E740B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412094

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

Preview Lab → · Contrast checker → · Palette generator →

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