#412159#412159

#412159 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.100 H 308.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#412159
RGBrgb(65, 33, 89)
HSLhsl(274, 46%, 24%)
HSVhsv(274, 63%, 35%)
CMYKcmyk(27%, 62.9%, 0%, 65.1%)
CIE-LABlab(19.77, 27.04, -27.88)
CIE-LCHlch(19.77, 38.84, 314.13°)
OKLaboklab(31.99% 0.0616 -0.0785)
OKLCHoklch(31.99% 0.1 308.1)
XYZxyz(4.5266, 2.9329, 9.7769)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412159 #395921
analogous
#252159 #412159 #592155
triadic
#412159 #594121 #215941
tetradic
#412159 #592521 #395921 #215559
square
#412159 #592521 #395921 #215559
split-complementary
#412159 #555921 #215925
monochromatic
#100816 #20102C #412159 #623286 #8242B2

Accessibility & contrast

On white

13.24
#412159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#412159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412159
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412159#FFFFFF#000000##FFFFFF
##4121591.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2F5B
Deuteranopia (green-blind)
#193058
Tritanopia (blue-blind)
#3D2C39
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412159;
/* rgb */ color: rgb(65, 33, 89);
/* oklch */ color: oklch(32.0% 0.100 308.1);
Tailwind
colors: {
  custom: {
    50: '#785e88',
    500: '#412159',
    950: '#000000',
  },
}
SCSS
$custom: #412159;
$custom-light: #785e88;
$custom-dark: #000000;
JSON
{
  "hex": "#412159",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 274.286,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3199,
    "c": 0.09981,
    "h": 308.1
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#412159
secondary
#668D49
accent
#D6528B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412159

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

Preview Lab → · Contrast checker → · Palette generator →

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