#412CA8#412CA8

#412CA8 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.186 H 281.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#412CA8
RGBrgb(65, 44, 168)
HSLhsl(250, 58%, 42%)
HSVhsv(250, 74%, 66%)
CMYKcmyk(61.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(28.78, 44.18, -63.13)
CIE-LCHlch(28.78, 77.06, 304.99°)
OKLaboklab(40.53% 0.0385 -0.182)
OKLCHoklch(40.53% 0.186 281.9)
XYZxyz(10.1463, 5.7516, 37.6137)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA8 #93A82C
analogous
#2C55A8 #412CA8 #7F2CA8
triadic
#412CA8 #A8412C #2CA841
tetradic
#412CA8 #A82C55 #93A82C #2CA87F
square
#412CA8 #A82C55 #93A82C #2CA87F
split-complementary
#412CA8 #A87F2C #55A82C
monochromatic
#1B1347 #2E1F78 #412CA8 #5B43CE #8574DB

Accessibility & contrast

On white

9.77
#412CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#412CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CA8
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CA8#FFFFFF#000000##FFFFFF
##412CA81.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412ca8;
/* rgb */ color: rgb(65, 44, 168);
/* oklch */ color: oklch(40.5% 0.186 281.9);
Tailwind
colors: {
  custom: {
    50: '#8268c3',
    500: '#412ca8',
    950: '#000000',
  },
}
SCSS
$custom: #412ca8;
$custom-light: #8268c3;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca8",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 250.161,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.18603,
    "h": 281.9
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#412CA8
secondary
#B4C26E
accent
#E246C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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