#412754#412754

#412754 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.7% C 0.082 H 309.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#412754
RGBrgb(65, 39, 84)
HSLhsl(275, 37%, 24%)
HSVhsv(275, 54%, 33%)
CMYKcmyk(22.6%, 53.6%, 0%, 67.1%)
CIE-LABlab(20.89, 21.97, -22.77)
CIE-LCHlch(20.89, 31.64, 313.97°)
OKLaboklab(32.71% 0.0519 -0.0636)
OKLCHoklch(32.71% 0.082 309.2)
XYZxyz(4.5054, 3.2150, 8.7690)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412754 #3A5427
analogous
#2B2754 #412754 #542751
triadic
#412754 #544127 #275441
tetradic
#412754 #542B27 #3A5427 #275154
square
#412754 #542B27 #3A5427 #275154
split-complementary
#412754 #515427 #27542B
monochromatic
#100A15 #21142A #412754 #613A7E #824EA8

Accessibility & contrast

On white

12.78
#412754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#412754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412754
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412754#FFFFFF#000000##FFFFFF
##4127541.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3156
Deuteranopia (green-blind)
#233353
Tritanopia (blue-blind)
#3F2E39
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412754;
/* rgb */ color: rgb(65, 39, 84);
/* oklch */ color: oklch(32.7% 0.082 309.2);
Tailwind
colors: {
  custom: {
    50: '#776284',
    500: '#412754',
    950: '#000000',
  },
}
SCSS
$custom: #412754;
$custom-light: #776284;
$custom-dark: #000000;
JSON
{
  "hex": "#412754",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 274.667,
    "s": 36.585,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32707,
    "c": 0.08215,
    "h": 309.2
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#412754
secondary
#678750
accent
#CD5B8B
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412754

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

Preview Lab → · Contrast checker → · Palette generator →

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