#412266#412266

#412266 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.1% C 0.115 H 301.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#412266
RGBrgb(65, 34, 102)
HSLhsl(267, 50%, 27%)
HSVhsv(267, 67%, 40%)
CMYKcmyk(36.3%, 66.7%, 0%, 60%)
CIE-LABlab(20.93, 30.01, -34.60)
CIE-LCHlch(20.93, 45.80, 310.93°)
OKLaboklab(33.13% 0.0598 -0.0982)
OKLCHoklch(33.13% 0.115 301.3)
XYZxyz(5.1497, 3.2272, 12.9194)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412266 #476622
analogous
#222566 #412266 #632266
triadic
#412266 #664122 #226641
tetradic
#412266 #662225 #476622 #226663
square
#412266 #662225 #476622 #226663
split-complementary
#412266 #666322 #256622
monochromatic
#0F0817 #241338 #412266 #5E3194 #7C42C0

Accessibility & contrast

On white

12.76
#412266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#412266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412266
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412266#FFFFFF#000000##FFFFFF
##4122661.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#0A3265
Tritanopia (blue-blind)
#393140
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412266;
/* rgb */ color: rgb(65, 34, 102);
/* oklch */ color: oklch(33.1% 0.115 301.3);
Tailwind
colors: {
  custom: {
    50: '#795f92',
    500: '#412266',
    950: '#000000',
  },
}
SCSS
$custom: #412266;
$custom-light: #795f92;
$custom-dark: #000000;
JSON
{
  "hex": "#412266",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 267.353,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33133,
    "c": 0.11503,
    "h": 301.3
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#412266
secondary
#759A4A
accent
#DA4E9A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412266

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

Preview Lab → · Contrast checker → · Palette generator →

#412266 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva