#412BA8#412BA8

#412BA8 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.187 H 282.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#412BA8
RGBrgb(65, 43, 168)
HSLhsl(251, 59%, 41%)
HSVhsv(251, 74%, 66%)
CMYKcmyk(61.3%, 74.4%, 0%, 34.1%)
CIE-LABlab(28.59, 44.72, -63.45)
CIE-LCHlch(28.59, 77.63, 305.18°)
OKLaboklab(40.4% 0.0392 -0.1829)
OKLCHoklch(40.4% 0.187 282.1)
XYZxyz(10.1095, 5.6780, 37.6014)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA8 #92A82B
analogous
#2B54A8 #412BA8 #802BA8
triadic
#412BA8 #A8412B #2BA841
tetradic
#412BA8 #A82B54 #92A82B #2BA880
square
#412BA8 #A82B54 #92A82B #2BA880
split-complementary
#412BA8 #A8802B #54A82B
monochromatic
#1B1247 #2E1F77 #412BA8 #5A42CF #8572DB

Accessibility & contrast

On white

9.83
#412BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#412BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BA8
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA8#FFFFFF#000000##FFFFFF
##412BA81.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.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: #412ba8;
/* rgb */ color: rgb(65, 43, 168);
/* oklch */ color: oklch(40.4% 0.187 282.1);
Tailwind
colors: {
  custom: {
    50: '#8267c3',
    500: '#412ba8',
    950: '#000000',
  },
}
SCSS
$custom: #412ba8;
$custom-light: #8267c3;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba8",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 250.56,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.18708,
    "h": 282.1
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#412BA8
secondary
#B3C26C
accent
#E245C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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