#412161#412161

#412161 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.110 H 303.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#412161
RGBrgb(65, 33, 97)
HSLhsl(270, 49%, 25%)
HSVhsv(270, 66%, 38%)
CMYKcmyk(33%, 66%, 0%, 62%)
CIE-LABlab(20.34, 29.21, -32.27)
CIE-LCHlch(20.34, 43.53, 312.15°)
OKLaboklab(32.58% 0.0615 -0.0914)
OKLCHoklch(32.58% 0.11 303.9)
XYZxyz(4.8810, 3.0746, 11.6433)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412161 #416121
analogous
#212161 #412161 #612161
triadic
#412161 #614121 #216141
tetradic
#412161 #612121 #416121 #216161
square
#412161 #612121 #416121 #216161
split-complementary
#412161 #616121 #216121
monochromatic
#0F0817 #221133 #412161 #60318F #7E40BC

Accessibility & contrast

On white

13.00
#412161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#412161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412161
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412161#FFFFFF#000000##FFFFFF
##4121611.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#103160
Tritanopia (blue-blind)
#3B2E3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412161;
/* rgb */ color: rgb(65, 33, 97);
/* oklch */ color: oklch(32.6% 0.110 303.9);
Tailwind
colors: {
  custom: {
    50: '#785e8e',
    500: '#412161',
    950: '#000000',
  },
}
SCSS
$custom: #412161;
$custom-light: #785e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#412161",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 270,
    "s": 49.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32585,
    "c": 0.11016,
    "h": 303.9
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#412161
secondary
#6F9549
accent
#D94F94
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #412161

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

Preview Lab → · Contrast checker → · Palette generator →

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