#412653#412653

#412653 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.083 H 310.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#412653
RGBrgb(65, 38, 83)
HSLhsl(276, 37%, 24%)
HSVhsv(276, 54%, 33%)
CMYKcmyk(21.7%, 54.2%, 0%, 67.5%)
CIE-LABlab(20.58, 22.34, -22.59)
CIE-LCHlch(20.58, 31.78, 314.68°)
OKLaboklab(32.46% 0.0534 -0.0631)
OKLCHoklch(32.46% 0.083 310.3)
XYZxyz(4.4341, 3.1347, 8.5534)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412653 #385326
analogous
#2A2653 #412653 #53264E
triadic
#412653 #534126 #265341
tetradic
#412653 #532A26 #385326 #264E53
square
#412653 #532A26 #385326 #264E53
split-complementary
#412653 #4E5326 #26532A
monochromatic
#100A15 #201329 #412653 #62397D #834CA7

Accessibility & contrast

On white

12.91
#412653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#412653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412653
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412653#FFFFFF#000000##FFFFFF
##4126531.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3055
Deuteranopia (green-blind)
#223252
Tritanopia (blue-blind)
#3F2D38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412653;
/* rgb */ color: rgb(65, 38, 83);
/* oklch */ color: oklch(32.5% 0.083 310.3);
Tailwind
colors: {
  custom: {
    50: '#776183',
    500: '#412653',
    950: '#000000',
  },
}
SCSS
$custom: #412653;
$custom-light: #776183;
$custom-dark: #000000;
JSON
{
  "hex": "#412653",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 83
  },
  "hsl": {
    "h": 276,
    "s": 37.19,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32457,
    "c": 0.08269,
    "h": 310.3
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#412653
secondary
#65864F
accent
#CD5B88
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050A
muted
#7B797C

Preview Lab

Preview with #412653

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

Preview Lab → · Contrast checker → · Palette generator →

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