#412351#412351

#412351 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.086 H 312.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#412351
RGBrgb(65, 35, 81)
HSLhsl(279, 40%, 23%)
HSVhsv(279, 57%, 32%)
CMYKcmyk(19.8%, 56.8%, 0%, 68.2%)
CIE-LABlab(19.72, 23.72, -22.60)
CIE-LCHlch(19.72, 32.76, 316.38°)
OKLaboklab(31.78% 0.058 -0.0631)
OKLCHoklch(31.78% 0.086 312.6)
XYZxyz(4.2660, 2.9201, 8.1219)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412351 #335123
analogous
#2A2351 #412351 #51234A
triadic
#412351 #514123 #235141
tetradic
#412351 #512A23 #335123 #234A51
square
#412351 #512A23 #335123 #234A51
split-complementary
#412351 #4A5123 #23512A
monochromatic
#110915 #1F1126 #412351 #63357C #8648A6

Accessibility & contrast

On white

13.26
#412351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#412351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412351
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412351#FFFFFF#000000##FFFFFF
##4123511.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E53
Deuteranopia (green-blind)
#213050
Tritanopia (blue-blind)
#3F2A36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412351;
/* rgb */ color: rgb(65, 35, 81);
/* oklch */ color: oklch(31.8% 0.086 312.6);
Tailwind
colors: {
  custom: {
    50: '#775f82',
    500: '#412351',
    950: '#000000',
  },
}
SCSS
$custom: #412351;
$custom-light: #775f82;
$custom-dark: #000000;
JSON
{
  "hex": "#412351",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 81
  },
  "hsl": {
    "h": 279.13,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31784,
    "c": 0.08574,
    "h": 312.6
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#412351
secondary
#5F854B
accent
#D05882
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #412351

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

Preview Lab → · Contrast checker → · Palette generator →

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