#412245#412245

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

Color values

HEX#412245
RGBrgb(65, 34, 69)
HSLhsl(293, 34%, 20%)
HSVhsv(293, 51%, 27%)
CMYKcmyk(5.8%, 50.7%, 0%, 72.9%)
CIE-LABlab(18.79, 21.40, -15.90)
CIE-LCHlch(18.79, 26.67, 323.38°)
OKLaboklab(30.87% 0.0578 -0.0437)
OKLCHoklch(30.87% 0.072 322.9)
XYZxyz(3.8261, 2.6977, 5.9482)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412245 #264522
analogous
#2F2245 #412245 #452237
triadic
#412245 #454122 #224541
tetradic
#412245 #452F22 #264522 #223745
square
#412245 #452F22 #264522 #223745
split-complementary
#412245 #374522 #22452F
monochromatic
#130A14 #1A0E1C #412245 #68366E #8E4A97

Accessibility & contrast

On white

13.64
#412245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412245
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412245#FFFFFF#000000##FFFFFF
##4122451.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B46
Deuteranopia (green-blind)
#262F44
Tritanopia (blue-blind)
#422630
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #412245;
/* rgb */ color: rgb(65, 34, 69);
/* oklch */ color: oklch(30.9% 0.072 322.9);
Tailwind
colors: {
  custom: {
    50: '#765e79',
    500: '#412245',
    950: '#000000',
  },
}
SCSS
$custom: #412245;
$custom-light: #765e79;
$custom-dark: #000000;
JSON
{
  "hex": "#412245",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 293.143,
    "s": 33.981,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30869,
    "c": 0.07246,
    "h": 322.9
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#412245
secondary
#50794A
accent
#CA5E6A
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080409
muted
#7B797B

Preview Lab

Preview with #412245

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

Preview Lab → · Contrast checker → · Palette generator →

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