#412658#412658

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

Color values

HEX#412658
RGBrgb(65, 38, 88)
HSLhsl(272, 40%, 25%)
HSVhsv(272, 57%, 35%)
CMYKcmyk(26.1%, 56.8%, 0%, 65.5%)
CIE-LABlab(20.88, 23.68, -25.44)
CIE-LCHlch(20.88, 34.76, 312.94°)
OKLaboklab(32.79% 0.054 -0.0714)
OKLCHoklch(32.79% 0.09 307.1)
XYZxyz(4.6342, 3.2147, 9.6070)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412658 #3D5826
analogous
#282658 #412658 #582656
triadic
#412658 #584126 #265841
tetradic
#412658 #582826 #3D5826 #265658
square
#412658 #582826 #3D5826 #265658
split-complementary
#412658 #565826 #265828
monochromatic
#100915 #21142D #412658 #613883 #804BAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412658#FFFFFF#000000##FFFFFF
##4126581.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)
#17315A
Deuteranopia (green-blind)
#1F3257
Tritanopia (blue-blind)
#3E2F3B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412658;
/* rgb */ color: rgb(65, 38, 88);
/* oklch */ color: oklch(32.8% 0.090 307.1);
Tailwind
colors: {
  custom: {
    50: '#776187',
    500: '#412658',
    950: '#000000',
  },
}
SCSS
$custom: #412658;
$custom-light: #776187;
$custom-dark: #000000;
JSON
{
  "hex": "#412658",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 272.4,
    "s": 39.683,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32786,
    "c": 0.08952,
    "h": 307.1
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#412658
secondary
#6A8B4F
accent
#D0588F
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412658

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

Preview Lab → · Contrast checker → · Palette generator →

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