#412763#412763

#412763 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.7% C 0.103 H 301.0°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#412763
RGBrgb(65, 39, 99)
HSLhsl(266, 43%, 27%)
HSVhsv(266, 61%, 39%)
CMYKcmyk(34.3%, 60.6%, 0%, 61.2%)
CIE-LABlab(21.86, 26.12, -31.15)
CIE-LCHlch(21.86, 40.65, 309.97°)
OKLaboklab(33.74% 0.053 -0.0881)
OKLCHoklch(33.74% 0.103 301)
XYZxyz(5.1571, 3.4757, 12.2011)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412763 #496327
analogous
#272B63 #412763 #5F2763
triadic
#412763 #634127 #276341
tetradic
#412763 #63272B #496327 #27635F
square
#412763 #63272B #496327 #27635F
split-complementary
#412763 #635F27 #2B6327
monochromatic
#0E0916 #241637 #412763 #5E388F #7B4CB8

Accessibility & contrast

On white

12.39
#412763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#412763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412763
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412763#FFFFFF#000000##FFFFFF
##4127631.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3465
Deuteranopia (green-blind)
#173462
Tritanopia (blue-blind)
#3A3341
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412763;
/* rgb */ color: rgb(65, 39, 99);
/* oklch */ color: oklch(33.7% 0.103 301.0);
Tailwind
colors: {
  custom: {
    50: '#786290',
    500: '#412763',
    950: '#000000',
  },
}
SCSS
$custom: #412763;
$custom-light: #786290;
$custom-dark: #000000;
JSON
{
  "hex": "#412763",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 99
  },
  "hsl": {
    "h": 266,
    "s": 43.478,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33738,
    "c": 0.10286,
    "h": 301
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#412763
secondary
#789650
accent
#D3559C
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #412763

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

Preview Lab → · Contrast checker → · Palette generator →

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