#412152#412152

#412152 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.091 H 312.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#412152
RGBrgb(65, 33, 82)
HSLhsl(279, 43%, 23%)
HSVhsv(279, 60%, 32%)
CMYKcmyk(20.7%, 59.8%, 0%, 67.8%)
CIE-LABlab(19.31, 25.22, -23.93)
CIE-LCHlch(19.31, 34.76, 316.50°)
OKLaboklab(31.5% 0.0613 -0.067)
OKLCHoklch(31.5% 0.091 312.5)
XYZxyz(4.2466, 2.8208, 8.3018)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412152 #325221
analogous
#292152 #412152 #52214A
triadic
#412152 #524121 #215241
tetradic
#412152 #522921 #325221 #214A52
square
#412152 #522921 #325221 #214A52
split-complementary
#412152 #4A5221 #215229
monochromatic
#110916 #1E0F26 #412152 #64337E #8644A9

Accessibility & contrast

On white

13.43
#412152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#412152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412152
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412152#FFFFFF#000000##FFFFFF
##4121521.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#1E3051
Tritanopia (blue-blind)
#3F2936
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412152;
/* rgb */ color: rgb(65, 33, 82);
/* oklch */ color: oklch(31.5% 0.091 312.5);
Tailwind
colors: {
  custom: {
    50: '#775e83',
    500: '#412152',
    950: '#000000',
  },
}
SCSS
$custom: #412152;
$custom-light: #775e83;
$custom-dark: #000000;
JSON
{
  "hex": "#412152",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 279.184,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31503,
    "c": 0.09078,
    "h": 312.5
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#412152
secondary
#5E8649
accent
#D25581
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #412152

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

Preview Lab → · Contrast checker → · Palette generator →

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