#412563#412563

#412563 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.106 H 301.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#412563
RGBrgb(65, 37, 99)
HSLhsl(267, 46%, 27%)
HSVhsv(267, 63%, 39%)
CMYKcmyk(34.3%, 62.6%, 0%, 61.2%)
CIE-LABlab(21.39, 27.36, -31.91)
CIE-LCHlch(21.39, 42.03, 310.61°)
OKLaboklab(33.39% 0.0559 -0.0903)
OKLCHoklch(33.39% 0.106 301.7)
XYZxyz(5.0931, 3.3478, 12.1798)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412563 #476325
analogous
#252863 #412563 #602563
triadic
#412563 #634125 #256341
tetradic
#412563 #632528 #476325 #256360
square
#412563 #632528 #476325 #256360
split-complementary
#412563 #636025 #286325
monochromatic
#0F0816 #241436 #412563 #5E3690 #7C48BB

Accessibility & contrast

On white

12.58
#412563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#412563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412563
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412563#FFFFFF#000000##FFFFFF
##4125631.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063365
Deuteranopia (green-blind)
#143362
Tritanopia (blue-blind)
#3A3240
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412563;
/* rgb */ color: rgb(65, 37, 99);
/* oklch */ color: oklch(33.4% 0.106 301.7);
Tailwind
colors: {
  custom: {
    50: '#786190',
    500: '#412563',
    950: '#000000',
  },
}
SCSS
$custom: #412563;
$custom-light: #786190;
$custom-dark: #000000;
JSON
{
  "hex": "#412563",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 267.097,
    "s": 45.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33394,
    "c": 0.10623,
    "h": 301.7
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#412563
secondary
#75964E
accent
#D5539A
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #412563

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

Preview Lab → · Contrast checker → · Palette generator →

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