#412B8F#412B8F

#412B8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.156 H 286.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#412B8F
RGBrgb(65, 43, 143)
HSLhsl(253, 54%, 36%)
HSVhsv(253, 70%, 56%)
CMYKcmyk(54.5%, 69.9%, 0%, 43.9%)
CIE-LABlab(26.26, 36.98, -52.00)
CIE-LCHlch(26.26, 63.81, 305.42°)
OKLaboklab(38.03% 0.0443 -0.1494)
OKLCHoklch(38.03% 0.156 286.5)
XYZxyz(8.0003, 4.8343, 26.4928)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B8F #798F2B
analogous
#2B478F #412B8F #732B8F
triadic
#412B8F #8F412B #2B8F41
tetradic
#412B8F #8F2B47 #798F2B #2B8F73
square
#412B8F #8F2B47 #798F2B #2B8F73
split-complementary
#412B8F #8F732B #478F2B
monochromatic
#160F31 #2C1D60 #412B8F #5639BE #7C64D0

Accessibility & contrast

On white

10.68
#412B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412B8F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B8F#FFFFFF#000000##FFFFFF
##412B8F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#214559
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412b8f;
/* rgb */ color: rgb(65, 43, 143);
/* oklch */ color: oklch(38.0% 0.156 286.5);
Tailwind
colors: {
  custom: {
    50: '#7e66b1',
    500: '#412b8f',
    950: '#000000',
  },
}
SCSS
$custom: #412b8f;
$custom-light: #7e66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412b8f",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 253.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.15584,
    "h": 286.5
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#412B8F
secondary
#A3B75F
accent
#DD4BBD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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