#412367#412367

#412367 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.115 H 300.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#412367
RGBrgb(65, 35, 103)
HSLhsl(266, 49%, 27%)
HSVhsv(266, 66%, 40%)
CMYKcmyk(36.9%, 66%, 0%, 59.6%)
CIE-LABlab(21.23, 29.70, -34.78)
CIE-LCHlch(21.23, 45.74, 310.50°)
OKLaboklab(33.37% 0.0584 -0.0988)
OKLCHoklch(33.37% 0.115 300.6)
XYZxyz(5.2286, 3.3051, 13.1918)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412367 #496723
analogous
#232767 #412367 #632367
triadic
#412367 #674123 #236741
tetradic
#412367 #672327 #496723 #236763
square
#412367 #672327 #496723 #236763
split-complementary
#412367 #676323 #276723
monochromatic
#0E0817 #241339 #412367 #5E3395 #7B45C0

Accessibility & contrast

On white

12.64
#412367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412367
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412367#FFFFFF#000000##FFFFFF
##4123671.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#0A3366
Tritanopia (blue-blind)
#393241
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412367;
/* rgb */ color: rgb(65, 35, 103);
/* oklch */ color: oklch(33.4% 0.115 300.6);
Tailwind
colors: {
  custom: {
    50: '#796093',
    500: '#412367',
    950: '#000000',
  },
}
SCSS
$custom: #412367;
$custom-light: #796093;
$custom-dark: #000000;
JSON
{
  "hex": "#412367",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 103
  },
  "hsl": {
    "h": 266.471,
    "s": 49.275,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33371,
    "c": 0.11477,
    "h": 300.6
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#412367
secondary
#789B4B
accent
#D94F9C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412367

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

Preview Lab → · Contrast checker → · Palette generator →

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