#412BA0#412BA0

#412BA0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.177 H 283.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#412BA0
RGBrgb(65, 43, 160)
HSLhsl(251, 58%, 40%)
HSVhsv(251, 73%, 63%)
CMYKcmyk(59.4%, 73.1%, 0%, 37.3%)
CIE-LABlab(27.82, 42.26, -59.87)
CIE-LCHlch(27.82, 73.28, 305.22°)
OKLaboklab(39.62% 0.041 -0.1725)
OKLCHoklch(39.62% 0.177 283.4)
XYZxyz(9.3871, 5.3890, 33.7964)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA0 #8AA02B
analogous
#2B50A0 #412BA0 #7B2BA0
triadic
#412BA0 #A0412B #2BA041
tetradic
#412BA0 #A02B50 #8AA02B #2BA07B
square
#412BA0 #A02B50 #8AA02B #2BA07B
split-complementary
#412BA0 #A07B2B #50A02B
monochromatic
#1A1140 #2D1E70 #412BA0 #583DCB #826ED8

Accessibility & contrast

On white

10.11
#412BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#412BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BA0
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA0#FFFFFF#000000##FFFFFF
##412BA01.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#054B63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412ba0;
/* rgb */ color: rgb(65, 43, 160);
/* oklch */ color: oklch(39.6% 0.177 283.4);
Tailwind
colors: {
  custom: {
    50: '#8167bd',
    500: '#412ba0',
    950: '#000000',
  },
}
SCSS
$custom: #412ba0;
$custom-light: #8167bd;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba0",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 251.282,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.17727,
    "h": 283.4
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#412BA0
secondary
#AEBF68
accent
#E147C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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