#412583#412583

#412583 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.148 H 290.7°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#412583
RGBrgb(65, 37, 131)
HSLhsl(258, 56%, 33%)
HSVhsv(258, 72%, 51%)
CMYKcmyk(50.4%, 71.8%, 0%, 48.6%)
CIE-LABlab(23.95, 36.75, -48.28)
CIE-LCHlch(23.95, 60.68, 307.27°)
OKLaboklab(36.05% 0.0523 -0.1385)
OKLCHoklch(36.05% 0.148 290.7)
XYZxyz(6.9371, 4.0854, 21.8914)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412583 #678325
analogous
#253883 #412583 #702583
triadic
#412583 #834125 #258341
tetradic
#412583 #832538 #678325 #258370
square
#412583 #832538 #678325 #258370
split-complementary
#412583 #837025 #388325
monochromatic
#120A24 #291853 #412583 #5932B3 #7854CF

Accessibility & contrast

On white

11.56
#412583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#412583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412583
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412583#FFFFFF#000000##FFFFFF
##4125831.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.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: #412583;
/* rgb */ color: rgb(65, 37, 131);
/* oklch */ color: oklch(36.1% 0.148 290.7);
Tailwind
colors: {
  custom: {
    50: '#7c62a8',
    500: '#412583',
    950: '#000000',
  },
}
SCSS
$custom: #412583;
$custom-light: #7c62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412583",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 257.872,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36053,
    "c": 0.14803,
    "h": 290.7
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#412583
secondary
#96B351
accent
#DF49B2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412583

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

Preview Lab → · Contrast checker → · Palette generator →

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