#412D93#412D93

#412D93 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.159 H 285.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#412D93
RGBrgb(65, 45, 147)
HSLhsl(252, 53%, 38%)
HSVhsv(252, 69%, 58%)
CMYKcmyk(55.8%, 69.4%, 0%, 42.4%)
CIE-LABlab(27.04, 37.06, -53.20)
CIE-LCHlch(27.04, 64.84, 304.87°)
OKLaboklab(38.7% 0.0417 -0.1529)
OKLCHoklch(38.7% 0.159 285.3)
XYZxyz(8.3832, 5.1067, 28.1421)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D93 #7F932D
analogous
#2D4C93 #412D93 #742D93
triadic
#412D93 #93412D #2D9341
tetradic
#412D93 #932D4C #7F932D #2D9374
square
#412D93 #932D4C #7F932D #2D9374
split-complementary
#412D93 #93742D #4C932D
monochromatic
#181035 #2C1F64 #412D93 #563BC2 #7E69D1

Accessibility & contrast

On white

10.39
#412D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#412D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D93
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D93#FFFFFF#000000##FFFFFF
##412D931.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#1D475C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412d93;
/* rgb */ color: rgb(65, 45, 147);
/* oklch */ color: oklch(38.7% 0.159 285.3);
Tailwind
colors: {
  custom: {
    50: '#7e67b4',
    500: '#412d93',
    950: '#000000',
  },
}
SCSS
$custom: #412d93;
$custom-light: #7e67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412d93",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 251.765,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38699,
    "c": 0.15851,
    "h": 285.3
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#412D93
secondary
#A7B864
accent
#DD4BC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412D93

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

Preview Lab → · Contrast checker → · Palette generator →

#412D93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva