#412154#412154

#412154 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.6% C 0.093 H 311.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#412154
RGBrgb(65, 33, 84)
HSLhsl(278, 44%, 23%)
HSVhsv(278, 61%, 33%)
CMYKcmyk(22.6%, 60.7%, 0%, 67.1%)
CIE-LABlab(19.44, 25.73, -25.07)
CIE-LCHlch(19.44, 35.92, 315.75°)
OKLaboklab(31.64% 0.0614 -0.0703)
OKLCHoklch(31.64% 0.093 311.2)
XYZxyz(4.3238, 2.8517, 8.7085)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412154 #345421
analogous
#272154 #412154 #54214D
triadic
#412154 #544121 #215441
tetradic
#412154 #542721 #345421 #214D54
square
#412154 #542721 #345421 #214D54
split-complementary
#412154 #4D5421 #215427
monochromatic
#110916 #1F1028 #412154 #633280 #8544AC

Accessibility & contrast

On white

13.37
#412154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#412154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412154
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412154#FFFFFF#000000##FFFFFF
##4121541.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122E56
Deuteranopia (green-blind)
#1D3053
Tritanopia (blue-blind)
#3F2A37
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412154;
/* rgb */ color: rgb(65, 33, 84);
/* oklch */ color: oklch(31.6% 0.093 311.2);
Tailwind
colors: {
  custom: {
    50: '#775e84',
    500: '#412154',
    950: '#000000',
  },
}
SCSS
$custom: #412154;
$custom-light: #775e84;
$custom-dark: #000000;
JSON
{
  "hex": "#412154",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 277.647,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31639,
    "c": 0.09335,
    "h": 311.2
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#412154
secondary
#608849
accent
#D35484
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412154

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

Preview Lab → · Contrast checker → · Palette generator →

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