#412F93#412F93

#412F93 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.0% C 0.156 H 284.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#412F93
RGBrgb(65, 47, 147)
HSLhsl(251, 52%, 38%)
HSVhsv(251, 68%, 58%)
CMYKcmyk(55.8%, 68%, 0%, 42.4%)
CIE-LABlab(27.47, 35.88, -52.49)
CIE-LCHlch(27.47, 63.58, 304.36°)
OKLaboklab(39.01% 0.0398 -0.1508)
OKLCHoklch(39.01% 0.156 284.8)
XYZxyz(8.4614, 5.2630, 28.1681)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F93 #81932F
analogous
#2F4F93 #412F93 #732F93
triadic
#412F93 #93412F #2F9341
tetradic
#412F93 #932F4F #81932F #2F9373
square
#412F93 #932F4F #81932F #2F9373
split-complementary
#412F93 #93732F #4F932F
monochromatic
#181136 #2C2065 #412F93 #563EC1 #7E6CD0

Accessibility & contrast

On white

10.23
#412F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#412F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F93
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F93#FFFFFF#000000##FFFFFF
##412F931.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#1D485D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412f93;
/* rgb */ color: rgb(65, 47, 147);
/* oklch */ color: oklch(39.0% 0.156 284.8);
Tailwind
colors: {
  custom: {
    50: '#7e69b4',
    500: '#412f93',
    950: '#000000',
  },
}
SCSS
$custom: #412f93;
$custom-light: #7e69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412f93",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 250.8,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.15601,
    "h": 284.8
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#412F93
secondary
#A9B766
accent
#DB4DC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412F93

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

Preview Lab → · Contrast checker → · Palette generator →

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