#412B88#412B88

#412B88 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.147 H 288.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#412B88
RGBrgb(65, 43, 136)
HSLhsl(254, 52%, 35%)
HSVhsv(254, 68%, 53%)
CMYKcmyk(52.2%, 68.4%, 0%, 46.7%)
CIE-LABlab(25.65, 34.80, -48.64)
CIE-LCHlch(25.65, 59.81, 305.58°)
OKLaboklab(37.41% 0.0454 -0.1395)
OKLCHoklch(37.41% 0.147 288)
XYZxyz(7.4865, 4.6288, 23.7868)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B88 #72882B
analogous
#2B4388 #412B88 #702B88
triadic
#412B88 #88412B #2B8841
tetradic
#412B88 #882B43 #72882B #2B8870
square
#412B88 #882B43 #72882B #2B8870
split-complementary
#412B88 #88702B #43882B
monochromatic
#150E2B #2B1C5A #412B88 #573AB6 #7A61CD

Accessibility & contrast

On white

10.90
#412B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#412B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B88
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B88#FFFFFF#000000##FFFFFF
##412B881.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#274255
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412b88;
/* rgb */ color: rgb(65, 43, 136);
/* oklch */ color: oklch(37.4% 0.147 288.0);
Tailwind
colors: {
  custom: {
    50: '#7d66ab',
    500: '#412b88',
    950: '#000000',
  },
}
SCSS
$custom: #412b88;
$custom-light: #7d66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#412b88",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 254.194,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.14675,
    "h": 288
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#412B88
secondary
#9EB35C
accent
#DB4CBA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412B88

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

Preview Lab → · Contrast checker → · Palette generator →

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