#412E7C#412E7C

#412E7C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.126 H 290.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#412E7C
RGBrgb(65, 46, 124)
HSLhsl(255, 46%, 33%)
HSVhsv(255, 63%, 49%)
CMYKcmyk(47.6%, 62.9%, 0%, 51.4%)
CIE-LABlab(25.36, 29.23, -41.58)
CIE-LCHlch(25.36, 50.83, 305.11°)
OKLaboklab(36.89% 0.0432 -0.1188)
OKLCHoklch(36.89% 0.126 290)
XYZxyz(6.7940, 4.5328, 19.5818)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E7C #697C2E
analogous
#2E427C #412E7C #682E7C
triadic
#412E7C #7C412E #2E7C41
tetradic
#412E7C #7C2E42 #697C2E #2E7C68
square
#412E7C #7C2E42 #697C2E #2E7C68
split-complementary
#412E7C #7C682E #427C2E
monochromatic
#120D23 #2A1D4F #412E7C #583FA9 #7960C4

Accessibility & contrast

On white

11.01
#412E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#412E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E7C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E7C#FFFFFF#000000##FFFFFF
##412E7C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#2F4050
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412e7c;
/* rgb */ color: rgb(65, 46, 124);
/* oklch */ color: oklch(36.9% 0.126 290.0);
Tailwind
colors: {
  custom: {
    50: '#7b67a2',
    500: '#412e7c',
    950: '#000000',
  },
}
SCSS
$custom: #412e7c;
$custom-light: #7b67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#412e7c",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 254.615,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3689,
    "c": 0.12641,
    "h": 290
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#412E7C
secondary
#97AB5B
accent
#D652B6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412E7C

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

Preview Lab → · Contrast checker → · Palette generator →

#412E7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva