#412083#412083

#412083 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.154 H 291.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#412083
RGBrgb(65, 32, 131)
HSLhsl(260, 61%, 32%)
HSVhsv(260, 76%, 51%)
CMYKcmyk(50.4%, 75.6%, 0%, 48.6%)
CIE-LABlab(22.98, 39.46, -49.87)
CIE-LCHlch(22.98, 63.59, 308.35°)
OKLaboklab(35.37% 0.0571 -0.1431)
OKLCHoklch(35.37% 0.154 291.8)
XYZxyz(6.7921, 3.7953, 21.8430)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412083 #628320
analogous
#203183 #412083 #732083
triadic
#412083 #834120 #208341
tetradic
#412083 #832031 #628320 #208373
square
#412083 #832031 #628320 #208373
split-complementary
#412083 #837320 #318320
monochromatic
#100821 #291452 #412083 #592CB4 #784AD3

Accessibility & contrast

On white

11.94
#412083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412083
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412083#FFFFFF#000000##FFFFFF
##4120831.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#2C3A50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412083;
/* rgb */ color: rgb(65, 32, 131);
/* oklch */ color: oklch(35.4% 0.154 291.8);
Tailwind
colors: {
  custom: {
    50: '#7d5fa8',
    500: '#412083',
    950: '#000000',
  },
}
SCSS
$custom: #412083;
$custom-light: #7d5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#412083",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 260,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35366,
    "c": 0.15408,
    "h": 291.8
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#412083
secondary
#91B649
accent
#E444AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412083

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

Preview Lab → · Contrast checker → · Palette generator →

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