#412372#412372

#412372 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.129 H 296.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#412372
RGBrgb(65, 35, 114)
HSLhsl(263, 53%, 29%)
HSVhsv(263, 69%, 45%)
CMYKcmyk(43%, 69.3%, 0%, 55.3%)
CIE-LABlab(22.09, 32.86, -40.51)
CIE-LCHlch(22.09, 52.16, 309.05°)
OKLaboklab(34.27% 0.0573 -0.1156)
OKLCHoklch(34.27% 0.129 296.4)
XYZxyz(5.8175, 3.5407, 16.2932)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412372 #547223
analogous
#232D72 #412372 #692372
triadic
#412372 #724123 #237241
tetradic
#412372 #72232D #547223 #237269
square
#412372 #72232D #547223 #237269
split-complementary
#412372 #726923 #2D7223
monochromatic
#0D0717 #261543 #412372 #5C31A1 #7848C7

Accessibility & contrast

On white

12.29
#412372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#412372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412372
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412372#FFFFFF#000000##FFFFFF
##4123721.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#353647
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412372;
/* rgb */ color: rgb(65, 35, 114);
/* oklch */ color: oklch(34.3% 0.129 296.4);
Tailwind
colors: {
  custom: {
    50: '#7a609b',
    500: '#412372',
    950: '#000000',
  },
}
SCSS
$custom: #412372;
$custom-light: #7a609b;
$custom-dark: #000000;
JSON
{
  "hex": "#412372",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 262.785,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34269,
    "c": 0.12904,
    "h": 296.4
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#412372
secondary
#83A54C
accent
#DC4BA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412372

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

Preview Lab → · Contrast checker → · Palette generator →

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