#412355#412355

#412355 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.0% C 0.091 H 309.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#412355
RGBrgb(65, 35, 85)
HSLhsl(276, 42%, 24%)
HSVhsv(276, 59%, 33%)
CMYKcmyk(23.5%, 58.8%, 0%, 66.7%)
CIE-LABlab(19.97, 24.76, -24.89)
CIE-LCHlch(19.97, 35.11, 314.85°)
OKLaboklab(32.05% 0.0584 -0.0698)
OKLCHoklch(32.05% 0.091 309.9)
XYZxyz(4.4204, 2.9818, 8.9353)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412355 #375523
analogous
#282355 #412355 #552350
triadic
#412355 #554123 #235541
tetradic
#412355 #552823 #375523 #235055
square
#412355 #552823 #375523 #235055
split-complementary
#412355 #505523 #235528
monochromatic
#110916 #20112A #412355 #623580 #8347AC

Accessibility & contrast

On white

13.15
#412355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412355
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412355#FFFFFF#000000##FFFFFF
##4123551.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#1E3154
Tritanopia (blue-blind)
#3E2C38
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412355;
/* rgb */ color: rgb(65, 35, 85);
/* oklch */ color: oklch(32.0% 0.091 309.9);
Tailwind
colors: {
  custom: {
    50: '#775f85',
    500: '#412355',
    950: '#000000',
  },
}
SCSS
$custom: #412355;
$custom-light: #775f85;
$custom-dark: #000000;
JSON
{
  "hex": "#412355",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 85
  },
  "hsl": {
    "h": 276,
    "s": 41.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3205,
    "c": 0.09101,
    "h": 309.9
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#412355
secondary
#64894B
accent
#D15688
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412355

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

Preview Lab → · Contrast checker → · Palette generator →

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