#412383#412383

#412383 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.151 H 291.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#412383
RGBrgb(65, 35, 131)
HSLhsl(259, 58%, 33%)
HSVhsv(259, 73%, 51%)
CMYKcmyk(50.4%, 73.3%, 0%, 48.6%)
CIE-LABlab(23.55, 37.86, -48.93)
CIE-LCHlch(23.55, 61.87, 307.73°)
OKLaboklab(35.77% 0.0543 -0.1404)
OKLCHoklch(35.77% 0.151 291.1)
XYZxyz(6.8766, 3.9643, 21.8712)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412383 #658323
analogous
#233583 #412383 #712383
triadic
#412383 #834123 #238341
tetradic
#412383 #832335 #658323 #238371
square
#412383 #832335 #658323 #238371
split-complementary
#412383 #837123 #358323
monochromatic
#110922 #291653 #412383 #5930B3 #7850D0

Accessibility & contrast

On white

11.71
#412383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412383
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412383#FFFFFF#000000##FFFFFF
##4123831.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#2B3C50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412383;
/* rgb */ color: rgb(65, 35, 131);
/* oklch */ color: oklch(35.8% 0.151 291.1);
Tailwind
colors: {
  custom: {
    50: '#7d61a8',
    500: '#412383',
    950: '#000000',
  },
}
SCSS
$custom: #412383;
$custom-light: #7d61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412383",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 258.75,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3577,
    "c": 0.15052,
    "h": 291.1
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#412383
secondary
#94B44E
accent
#E147B1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412383

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

Preview Lab → · Contrast checker → · Palette generator →

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