#412382#412382

#412382 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.149 H 291.4°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#412382
RGBrgb(65, 35, 130)
HSLhsl(259, 58%, 32%)
HSVhsv(259, 73%, 51%)
CMYKcmyk(50%, 73.1%, 0%, 49%)
CIE-LABlab(23.46, 37.56, -48.45)
CIE-LCHlch(23.46, 61.31, 307.78°)
OKLaboklab(35.68% 0.0545 -0.139)
OKLCHoklch(35.68% 0.149 291.4)
XYZxyz(6.8091, 3.9373, 21.5160)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412382 #648223
analogous
#233582 #412382 #702382
triadic
#412382 #824123 #238241
tetradic
#412382 #822335 #648223 #238270
square
#412382 #822335 #648223 #238270
split-complementary
#412382 #827023 #358223
monochromatic
#110922 #291652 #412382 #5930B2 #7850D0

Accessibility & contrast

On white

11.75
#412382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412382
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412382#FFFFFF#000000##FFFFFF
##4123821.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#2C3B50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412382;
/* rgb */ color: rgb(65, 35, 130);
/* oklch */ color: oklch(35.7% 0.149 291.4);
Tailwind
colors: {
  custom: {
    50: '#7c61a7',
    500: '#412382',
    950: '#000000',
  },
}
SCSS
$custom: #412382;
$custom-light: #7c61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#412382",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 258.947,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35678,
    "c": 0.14927,
    "h": 291.4
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#412382
secondary
#93B34D
accent
#E147B0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412382

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

Preview Lab → · Contrast checker → · Palette generator →

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