#412683#412683

#412683 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.147 H 290.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#412683
RGBrgb(65, 38, 131)
HSLhsl(257, 55%, 33%)
HSVhsv(257, 71%, 51%)
CMYKcmyk(50.4%, 71%, 0%, 48.6%)
CIE-LABlab(24.16, 36.18, -47.95)
CIE-LCHlch(24.16, 60.07, 307.04°)
OKLaboklab(36.2% 0.0513 -0.1375)
OKLCHoklch(36.2% 0.147 290.5)
XYZxyz(6.9687, 4.1485, 21.9019)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412683 #688326
analogous
#263983 #412683 #6F2683
triadic
#412683 #834126 #268341
tetradic
#412683 #832639 #688326 #26836F
square
#412683 #832639 #688326 #26836F
split-complementary
#412683 #836F26 #398326
monochromatic
#120A24 #291854 #412683 #5934B2 #7856CE

Accessibility & contrast

On white

11.48
#412683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412683
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412683#FFFFFF#000000##FFFFFF
##4126831.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#2B3D51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412683;
/* rgb */ color: rgb(65, 38, 131);
/* oklch */ color: oklch(36.2% 0.147 290.5);
Tailwind
colors: {
  custom: {
    50: '#7c62a8',
    500: '#412683',
    950: '#000000',
  },
}
SCSS
$custom: #412683;
$custom-light: #7c62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412683",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 257.419,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.362,
    "c": 0.14677,
    "h": 290.5
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#412683
secondary
#97B252
accent
#DE49B3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412683

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

Preview Lab → · Contrast checker → · Palette generator →

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