#412352#412352

#412352 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.087 H 311.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#412352
RGBrgb(65, 35, 82)
HSLhsl(278, 40%, 23%)
HSVhsv(278, 57%, 32%)
CMYKcmyk(20.7%, 57.3%, 0%, 67.8%)
CIE-LABlab(19.78, 23.98, -23.18)
CIE-LCHlch(19.78, 33.35, 315.97°)
OKLaboklab(31.85% 0.0581 -0.0648)
OKLCHoklch(31.85% 0.087 311.9)
XYZxyz(4.3037, 2.9352, 8.3208)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412352 #345223
analogous
#292352 #412352 #52234B
triadic
#412352 #524123 #235241
tetradic
#412352 #522923 #345223 #234B52
square
#412352 #522923 #345223 #234B52
split-complementary
#412352 #4B5223 #235229
monochromatic
#110915 #1F1127 #412352 #63357D #8548A8

Accessibility & contrast

On white

13.23
#412352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412352
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412352#FFFFFF#000000##FFFFFF
##4123521.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172E54
Deuteranopia (green-blind)
#203051
Tritanopia (blue-blind)
#3F2B36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412352;
/* rgb */ color: rgb(65, 35, 82);
/* oklch */ color: oklch(31.9% 0.087 311.9);
Tailwind
colors: {
  custom: {
    50: '#775f83',
    500: '#412352',
    950: '#000000',
  },
}
SCSS
$custom: #412352;
$custom-light: #775f83;
$custom-dark: #000000;
JSON
{
  "hex": "#412352",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 278.298,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3185,
    "c": 0.08705,
    "h": 311.9
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#412352
secondary
#60864B
accent
#D05883
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #412352

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

Preview Lab → · Contrast checker → · Palette generator →

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