#412AA8#412AA8

#412AA8 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.188 H 282.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#412AA8
RGBrgb(65, 42, 168)
HSLhsl(251, 60%, 41%)
HSVhsv(251, 75%, 66%)
CMYKcmyk(61.3%, 75%, 0%, 34.1%)
CIE-LABlab(28.40, 45.26, -63.76)
CIE-LCHlch(28.40, 78.19, 305.37°)
OKLaboklab(40.27% 0.0399 -0.1838)
OKLCHoklch(40.27% 0.188 282.2)
XYZxyz(10.0736, 5.6062, 37.5895)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA8 #91A82A
analogous
#2A52A8 #412AA8 #802AA8
triadic
#412AA8 #A8412A #2AA841
tetradic
#412AA8 #A82A52 #91A82A #2AA880
square
#412AA8 #A82A52 #91A82A #2AA880
split-complementary
#412AA8 #A8802A #52A82A
monochromatic
#1B1246 #2E1E77 #412AA8 #5A40CF #8471DB

Accessibility & contrast

On white

9.90
#412AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#412AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA8
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA8#FFFFFF#000000##FFFFFF
##412AA81.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412aa8;
/* rgb */ color: rgb(65, 42, 168);
/* oklch */ color: oklch(40.3% 0.188 282.2);
Tailwind
colors: {
  custom: {
    50: '#8267c3',
    500: '#412aa8',
    950: '#000000',
  },
}
SCSS
$custom: #412aa8;
$custom-light: #8267c3;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa8",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 250.952,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.18811,
    "h": 282.2
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#412AA8
secondary
#B3C36B
accent
#E345C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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