#412261#412261

#412261 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.109 H 303.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#412261
RGBrgb(65, 34, 97)
HSLhsl(270, 48%, 26%)
HSVhsv(270, 65%, 38%)
CMYKcmyk(33%, 64.9%, 0%, 62%)
CIE-LABlab(20.56, 28.62, -31.92)
CIE-LCHlch(20.56, 42.87, 311.88°)
OKLaboklab(32.75% 0.0601 -0.0904)
OKLCHoklch(32.75% 0.109 303.6)
XYZxyz(4.9092, 3.1309, 11.6526)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412261 #426122
analogous
#222261 #412261 #602261
triadic
#412261 #614122 #226141
tetradic
#412261 #612222 #426122 #226160
square
#412261 #612222 #426122 #226160
split-complementary
#412261 #616022 #226122
monochromatic
#0F0817 #231234 #412261 #5F328E #7E42BC

Accessibility & contrast

On white

12.91
#412261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#412261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412261
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412261#FFFFFF#000000##FFFFFF
##4122611.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013163
Deuteranopia (green-blind)
#123160
Tritanopia (blue-blind)
#3B2F3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412261;
/* rgb */ color: rgb(65, 34, 97);
/* oklch */ color: oklch(32.7% 0.109 303.6);
Tailwind
colors: {
  custom: {
    50: '#785f8e',
    500: '#412261',
    950: '#000000',
  },
}
SCSS
$custom: #412261;
$custom-light: #785f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#412261",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 269.524,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32746,
    "c": 0.10853,
    "h": 303.6
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#412261
secondary
#70954A
accent
#D85095
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #412261

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

Preview Lab → · Contrast checker → · Palette generator →

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