#412952#412952

#412952 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.0% C 0.075 H 309.8°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#412952
RGBrgb(65, 41, 82)
HSLhsl(275, 33%, 24%)
HSVhsv(275, 50%, 32%)
CMYKcmyk(20.7%, 50%, 0%, 67.8%)
CIE-LABlab(21.28, 20.14, -20.82)
CIE-LCHlch(21.28, 28.96, 314.05°)
OKLaboklab(32.96% 0.0483 -0.058)
OKLCHoklch(32.96% 0.075 309.8)
XYZxyz(4.4956, 3.3190, 8.3848)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412952 #3A5229
analogous
#2D2952 #412952 #52294F
triadic
#412952 #524129 #295241
tetradic
#412952 #522D29 #3A5229 #294F52
square
#412952 #522D29 #3A5229 #294F52
split-complementary
#412952 #4F5229 #29522D
monochromatic
#100A14 #211529 #412952 #613D7B #8252A4

Accessibility & contrast

On white

12.62
#412952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#412952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412952
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412952#FFFFFF#000000##FFFFFF
##4129521.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203253
Deuteranopia (green-blind)
#263351
Tritanopia (blue-blind)
#3F2F39
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412952;
/* rgb */ color: rgb(65, 41, 82);
/* oklch */ color: oklch(33.0% 0.075 309.8);
Tailwind
colors: {
  custom: {
    50: '#776383',
    500: '#412952',
    950: '#000000',
  },
}
SCSS
$custom: #412952;
$custom-light: #776383;
$custom-dark: #000000;
JSON
{
  "hex": "#412952",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 275.122,
    "s": 33.333,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32962,
    "c": 0.07547,
    "h": 309.8
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#412952
secondary
#678452
accent
#C95E8B
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#08050A
muted
#7B797C

Preview Lab

Preview with #412952

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

Preview Lab → · Contrast checker → · Palette generator →

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