#412381#412381

#412381 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.148 H 291.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#412381
RGBrgb(65, 35, 129)
HSLhsl(259, 57%, 32%)
HSVhsv(259, 73%, 51%)
CMYKcmyk(49.6%, 72.9%, 0%, 49.4%)
CIE-LABlab(23.37, 37.27, -47.97)
CIE-LCHlch(23.37, 60.74, 307.84°)
OKLaboklab(35.59% 0.0547 -0.1375)
OKLCHoklch(35.59% 0.148 291.7)
XYZxyz(6.7423, 3.9106, 21.1642)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412381 #638123
analogous
#233481 #412381 #702381
triadic
#412381 #814123 #238141
tetradic
#412381 #812334 #638123 #238170
square
#412381 #812334 #638123 #238170
split-complementary
#412381 #817023 #348123
monochromatic
#100921 #291651 #412381 #5930B1 #784FCF

Accessibility & contrast

On white

11.78
#412381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#412381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412381
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412381#FFFFFF#000000##FFFFFF
##4123811.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#2D3B4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412381;
/* rgb */ color: rgb(65, 35, 129);
/* oklch */ color: oklch(35.6% 0.148 291.7);
Tailwind
colors: {
  custom: {
    50: '#7c61a6',
    500: '#412381',
    950: '#000000',
  },
}
SCSS
$custom: #412381;
$custom-light: #7c61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#412381",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 259.149,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35587,
    "c": 0.14803,
    "h": 291.7
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#412381
secondary
#92B34D
accent
#E147B0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #412381

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

Preview Lab → · Contrast checker → · Palette generator →

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