#412258#412258

#412258 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.1% C 0.097 H 308.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#412258
RGBrgb(65, 34, 88)
HSLhsl(274, 44%, 24%)
HSVhsv(274, 61%, 35%)
CMYKcmyk(26.1%, 61.4%, 0%, 65.5%)
CIE-LABlab(19.93, 26.17, -26.96)
CIE-LCHlch(19.93, 37.57, 314.15°)
OKLaboklab(32.09% 0.0601 -0.0758)
OKLCHoklch(32.09% 0.097 308.4)
XYZxyz(4.5131, 2.9725, 9.5666)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412258 #395822
analogous
#262258 #412258 #582254
triadic
#412258 #584122 #225841
tetradic
#412258 #582622 #395822 #225458
square
#412258 #582622 #395822 #225458
split-complementary
#412258 #545822 #225826
monochromatic
#100916 #20112C #412258 #623384 #8244B0

Accessibility & contrast

On white

13.17
#412258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412258
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412258#FFFFFF#000000##FFFFFF
##4122581.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2F5A
Deuteranopia (green-blind)
#1B3157
Tritanopia (blue-blind)
#3E2C39
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412258;
/* rgb */ color: rgb(65, 34, 88);
/* oklch */ color: oklch(32.1% 0.097 308.4);
Tailwind
colors: {
  custom: {
    50: '#775e87',
    500: '#412258',
    950: '#000000',
  },
}
SCSS
$custom: #412258;
$custom-light: #775e87;
$custom-dark: #000000;
JSON
{
  "hex": "#412258",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 274.444,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32086,
    "c": 0.09675,
    "h": 308.4
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#412258
secondary
#668C4A
accent
#D4548A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412258

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

Preview Lab → · Contrast checker → · Palette generator →

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