#412783#412783

#412783 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.145 H 290.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#412783
RGBrgb(65, 39, 131)
HSLhsl(257, 54%, 33%)
HSVhsv(257, 70%, 51%)
CMYKcmyk(50.4%, 70.2%, 0%, 48.6%)
CIE-LABlab(24.36, 35.61, -47.61)
CIE-LCHlch(24.36, 59.45, 306.79°)
OKLaboklab(36.35% 0.0503 -0.1365)
OKLCHoklch(36.35% 0.145 290.2)
XYZxyz(7.0011, 4.2133, 21.9127)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412783 #698327
analogous
#273B83 #412783 #6F2783
triadic
#412783 #834127 #278341
tetradic
#412783 #83273B #698327 #27836F
square
#412783 #83273B #698327 #27836F
split-complementary
#412783 #836F27 #3B8327
monochromatic
#120B25 #2A1954 #412783 #5835B2 #7957CD

Accessibility & contrast

On white

11.40
#412783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412783
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412783#FFFFFF#000000##FFFFFF
##4127831.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#2B3E51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412783;
/* rgb */ color: rgb(65, 39, 131);
/* oklch */ color: oklch(36.3% 0.145 290.2);
Tailwind
colors: {
  custom: {
    50: '#7c63a8',
    500: '#412783',
    950: '#000000',
  },
}
SCSS
$custom: #412783;
$custom-light: #7c63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412783",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 256.957,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36349,
    "c": 0.14547,
    "h": 290.2
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#412783
secondary
#97B254
accent
#DD4AB4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412783

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

Preview Lab → · Contrast checker → · Palette generator →

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