#412362#412362

#412362 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.108 H 302.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#412362
RGBrgb(65, 35, 98)
HSLhsl(269, 47%, 26%)
HSVhsv(269, 64%, 38%)
CMYKcmyk(33.7%, 64.3%, 0%, 61.6%)
CIE-LABlab(20.86, 28.29, -32.10)
CIE-LCHlch(20.86, 42.79, 311.39°)
OKLaboklab(32.99% 0.0587 -0.0909)
OKLCHoklch(32.99% 0.108 302.8)
XYZxyz(4.9851, 3.2077, 11.9094)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412362 #446223
analogous
#232562 #412362 #602362
triadic
#412362 #624123 #236241
tetradic
#412362 #622325 #446223 #236260
square
#412362 #622325 #446223 #236260
split-complementary
#412362 #626023 #256223
monochromatic
#0F0817 #231335 #412362 #5F338F #7D43BC

Accessibility & contrast

On white

12.79
#412362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#412362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412362
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412362#FFFFFF#000000##FFFFFF
##4123621.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023264
Deuteranopia (green-blind)
#123261
Tritanopia (blue-blind)
#3B303F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412362;
/* rgb */ color: rgb(65, 35, 98);
/* oklch */ color: oklch(33.0% 0.108 302.8);
Tailwind
colors: {
  custom: {
    50: '#785f8f',
    500: '#412362',
    950: '#000000',
  },
}
SCSS
$custom: #412362;
$custom-light: #785f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#412362",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 268.571,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32985,
    "c": 0.10819,
    "h": 302.8
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#412362
secondary
#72964B
accent
#D75197
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #412362

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

Preview Lab → · Contrast checker → · Palette generator →

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