#412342#412342

#412342 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 30.9% C 0.067 H 325.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#412342
RGBrgb(65, 35, 66)
HSLhsl(298, 31%, 20%)
HSVhsv(298, 47%, 26%)
CMYKcmyk(1.5%, 47%, 0%, 74.1%)
CIE-LABlab(18.88, 20.07, -13.70)
CIE-LCHlch(18.88, 24.30, 325.69°)
OKLaboklab(30.89% 0.0553 -0.0374)
OKLCHoklch(30.89% 0.067 325.9)
XYZxyz(3.7643, 2.7194, 5.4798)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412342 #244223
analogous
#322342 #412342 #422333
triadic
#412342 #424123 #234241
tetradic
#412342 #423223 #244223 #233342
square
#412342 #423223 #244223 #233342
split-complementary
#412342 #334223 #234232
monochromatic
#140B14 #1A0E1A #412342 #68386A #904D92

Accessibility & contrast

On white

13.60
#412342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#412342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412342
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412342#FFFFFF#000000##FFFFFF
##4123421.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C43
Deuteranopia (green-blind)
#282F41
Tritanopia (blue-blind)
#43262F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #412342;
/* rgb */ color: rgb(65, 35, 66);
/* oklch */ color: oklch(30.9% 0.067 325.9);
Tailwind
colors: {
  custom: {
    50: '#765f76',
    500: '#412342',
    950: '#000000',
  },
}
SCSS
$custom: #412342;
$custom-light: #765f76;
$custom-dark: #000000;
JSON
{
  "hex": "#412342",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 298.065,
    "s": 30.693,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.06678,
    "h": 325.9
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#412342
secondary
#4D754C
accent
#C76164
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080408
muted
#7B797B

Preview Lab

Preview with #412342

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

Preview Lab → · Contrast checker → · Palette generator →

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