#412B90#412B90

#412B90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.157 H 286.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#412B90
RGBrgb(65, 43, 144)
HSLhsl(253, 54%, 37%)
HSVhsv(253, 70%, 56%)
CMYKcmyk(54.9%, 70.1%, 0%, 43.5%)
CIE-LABlab(26.35, 37.29, -52.47)
CIE-LCHlch(26.35, 64.38, 305.40°)
OKLaboklab(38.12% 0.0441 -0.1508)
OKLCHoklch(38.12% 0.157 286.3)
XYZxyz(8.0764, 4.8648, 26.8936)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B90 #7A902B
analogous
#2B4890 #412B90 #742B90
triadic
#412B90 #90412B #2B9041
tetradic
#412B90 #902B48 #7A902B #2B9074
square
#412B90 #902B48 #7A902B #2B9074
split-complementary
#412B90 #90742B #48902B
monochromatic
#160F32 #2C1D61 #412B90 #5639BF #7C65D1

Accessibility & contrast

On white

10.64
#412B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#412B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B90
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B90#FFFFFF#000000##FFFFFF
##412B901.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#20455A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412b90;
/* rgb */ color: rgb(65, 43, 144);
/* oklch */ color: oklch(38.1% 0.157 286.3);
Tailwind
colors: {
  custom: {
    50: '#7e66b1',
    500: '#412b90',
    950: '#000000',
  },
}
SCSS
$custom: #412b90;
$custom-light: #7e66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412b90",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 253.069,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38122,
    "c": 0.15712,
    "h": 286.3
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#412B90
secondary
#A4B760
accent
#DD4ABD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412B90

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

Preview Lab → · Contrast checker → · Palette generator →

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