#412259#412259

#412259 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.2% C 0.098 H 307.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#412259
RGBrgb(65, 34, 89)
HSLhsl(274, 45%, 24%)
HSVhsv(274, 62%, 35%)
CMYKcmyk(27%, 61.8%, 0%, 65.1%)
CIE-LABlab(20.00, 26.44, -27.52)
CIE-LCHlch(20.00, 38.16, 313.85°)
OKLaboklab(32.16% 0.0601 -0.0775)
OKLCHoklch(32.16% 0.098 307.8)
XYZxyz(4.5548, 2.9892, 9.7863)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412259 #3A5922
analogous
#262259 #412259 #592256
triadic
#412259 #594122 #225941
tetradic
#412259 #592622 #3A5922 #225659
square
#412259 #592622 #3A5922 #225659
split-complementary
#412259 #565922 #225926
monochromatic
#100816 #21112D #412259 #613385 #8244B2

Accessibility & contrast

On white

13.14
#412259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412259
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412259#FFFFFF#000000##FFFFFF
##4122591.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2F5B
Deuteranopia (green-blind)
#1A3158
Tritanopia (blue-blind)
#3D2C3A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412259;
/* rgb */ color: rgb(65, 34, 89);
/* oklch */ color: oklch(32.2% 0.098 307.8);
Tailwind
colors: {
  custom: {
    50: '#785f88',
    500: '#412259',
    950: '#000000',
  },
}
SCSS
$custom: #412259;
$custom-light: #785f88;
$custom-dark: #000000;
JSON
{
  "hex": "#412259",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 273.818,
    "s": 44.715,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32157,
    "c": 0.09807,
    "h": 307.8
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#412259
secondary
#678D4A
accent
#D4538C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412259

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

Preview Lab → · Contrast checker → · Palette generator →

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