#412366#412366

#412366 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.3% C 0.113 H 301.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#412366
RGBrgb(65, 35, 102)
HSLhsl(267, 49%, 27%)
HSVhsv(267, 66%, 40%)
CMYKcmyk(36.3%, 65.7%, 0%, 60%)
CIE-LABlab(21.15, 29.42, -34.25)
CIE-LCHlch(21.15, 45.15, 310.66°)
OKLaboklab(33.29% 0.0585 -0.0972)
OKLCHoklch(33.29% 0.113 301)
XYZxyz(5.1787, 3.2852, 12.9291)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412366 #486623
analogous
#232766 #412366 #632366
triadic
#412366 #664123 #236641
tetradic
#412366 #662327 #486623 #236663
square
#412366 #662327 #486623 #236663
split-complementary
#412366 #666323 #276623
monochromatic
#0F0817 #241338 #412366 #5E3394 #7B44BF

Accessibility & contrast

On white

12.67
#412366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#412366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412366
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412366#FFFFFF#000000##FFFFFF
##4123661.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#0C3265
Tritanopia (blue-blind)
#393141
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412366;
/* rgb */ color: rgb(65, 35, 102);
/* oklch */ color: oklch(33.3% 0.113 301.0);
Tailwind
colors: {
  custom: {
    50: '#796092',
    500: '#412366',
    950: '#000000',
  },
}
SCSS
$custom: #412366;
$custom-light: #796092;
$custom-dark: #000000;
JSON
{
  "hex": "#412366",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 102
  },
  "hsl": {
    "h": 266.866,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33293,
    "c": 0.11345,
    "h": 301
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#412366
secondary
#769A4B
accent
#D84F9B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412366

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

Preview Lab → · Contrast checker → · Palette generator →

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