#412554#412554

#412554 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.3% C 0.086 H 309.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#412554
RGBrgb(65, 37, 84)
HSLhsl(276, 39%, 24%)
HSVhsv(276, 56%, 33%)
CMYKcmyk(22.6%, 56%, 0%, 67.1%)
CIE-LABlab(20.39, 23.24, -23.56)
CIE-LCHlch(20.39, 33.10, 314.61°)
OKLaboklab(32.34% 0.0552 -0.0659)
OKLCHoklch(32.34% 0.086 309.9)
XYZxyz(4.4415, 3.0871, 8.7477)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412554 #385425
analogous
#292554 #412554 #54254F
triadic
#412554 #544125 #255441
tetradic
#412554 #542925 #385425 #254F54
square
#412554 #542925 #385425 #254F54
split-complementary
#412554 #4F5425 #255429
monochromatic
#100915 #20122A #412554 #62387E #834AA9

Accessibility & contrast

On white

12.98
#412554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#412554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412554
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412554#FFFFFF#000000##FFFFFF
##4125541.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183056
Deuteranopia (green-blind)
#213253
Tritanopia (blue-blind)
#3F2D38
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412554;
/* rgb */ color: rgb(65, 37, 84);
/* oklch */ color: oklch(32.3% 0.086 309.9);
Tailwind
colors: {
  custom: {
    50: '#776084',
    500: '#412554',
    950: '#000000',
  },
}
SCSS
$custom: #412554;
$custom-light: #776084;
$custom-dark: #000000;
JSON
{
  "hex": "#412554",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 84
  },
  "hsl": {
    "h": 275.745,
    "s": 38.843,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32339,
    "c": 0.08595,
    "h": 309.9
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#412554
secondary
#65874D
accent
#CF5989
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412554

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

Preview Lab → · Contrast checker → · Palette generator →

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