#412061#412061

#412061 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.4% C 0.112 H 304.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#412061
RGBrgb(65, 32, 97)
HSLhsl(270, 50%, 25%)
HSVhsv(270, 67%, 38%)
CMYKcmyk(33%, 67%, 0%, 62%)
CIE-LABlab(20.12, 29.80, -32.62)
CIE-LCHlch(20.12, 44.18, 312.41°)
OKLaboklab(32.43% 0.0628 -0.0924)
OKLCHoklch(32.43% 0.112 304.2)
XYZxyz(4.8537, 3.0199, 11.6341)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412061 #406120
analogous
#212061 #412061 #612060
triadic
#412061 #614120 #206141
tetradic
#412061 #612120 #406120 #206061
square
#412061 #612120 #406120 #206061
split-complementary
#412061 #606120 #206121
monochromatic
#0F0817 #221133 #412061 #602F8F #7F3EBD

Accessibility & contrast

On white

13.09
#412061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#412061 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412061
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412061#FFFFFF#000000##FFFFFF
##4120611.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412061;
/* rgb */ color: rgb(65, 32, 97);
/* oklch */ color: oklch(32.4% 0.112 304.2);
Tailwind
colors: {
  custom: {
    50: '#785d8e',
    500: '#412061',
    950: '#000000',
  },
}
SCSS
$custom: #412061;
$custom-light: #785d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#412061",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 97
  },
  "hsl": {
    "h": 270.462,
    "s": 50.388,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32428,
    "c": 0.11176,
    "h": 304.2
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#412061
secondary
#6E9547
accent
#DA4E93
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #412061

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

Preview Lab → · Contrast checker → · Palette generator →

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