#412A9C#412A9C

#412A9C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.173 H 284.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#412A9C
RGBrgb(65, 42, 156)
HSLhsl(252, 58%, 39%)
HSVhsv(252, 73%, 61%)
CMYKcmyk(58.3%, 73.1%, 0%, 38.8%)
CIE-LABlab(27.24, 41.57, -58.38)
CIE-LCHlch(27.24, 71.67, 305.46°)
OKLaboklab(39.1% 0.0427 -0.1681)
OKLCHoklch(39.1% 0.173 284.2)
XYZxyz(9.0069, 5.1795, 31.9712)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A9C #859C2A
analogous
#2A4C9C #412A9C #7A2A9C
triadic
#412A9C #9C412A #2A9C41
tetradic
#412A9C #9C2A4C #859C2A #2A9C7A
square
#412A9C #9C2A4C #859C2A #2A9C7A
split-complementary
#412A9C #9C7A2A #4C9C2A
monochromatic
#19103C #2D1D6C #412A9C #5739CA #806AD7

Accessibility & contrast

On white

10.31
#412A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#412A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A9C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A9C#FFFFFF#000000##FFFFFF
##412A9C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#104960
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412a9c;
/* rgb */ color: rgb(65, 42, 156);
/* oklch */ color: oklch(39.1% 0.173 284.2);
Tailwind
colors: {
  custom: {
    50: '#8066ba',
    500: '#412a9c',
    950: '#000000',
  },
}
SCSS
$custom: #412a9c;
$custom-light: #8066ba;
$custom-dark: #000000;
JSON
{
  "hex": "#412a9c",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 252.105,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39097,
    "c": 0.17343,
    "h": 284.2
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#412A9C
secondary
#ABBD65
accent
#E147C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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