#412F94#412F94

#412F94 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.157 H 284.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#412F94
RGBrgb(65, 47, 148)
HSLhsl(251, 52%, 38%)
HSVhsv(251, 68%, 58%)
CMYKcmyk(56.1%, 68.2%, 0%, 42%)
CIE-LABlab(27.56, 36.20, -52.96)
CIE-LCHlch(27.56, 64.15, 304.35°)
OKLaboklab(39.1% 0.0397 -0.1522)
OKLCHoklch(39.1% 0.157 284.6)
XYZxyz(8.5402, 5.2945, 28.5832)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F94 #82942F
analogous
#2F4F94 #412F94 #732F94
triadic
#412F94 #94412F #2F9441
tetradic
#412F94 #942F4F #82942F #2F9473
square
#412F94 #942F4F #82942F #2F9473
split-complementary
#412F94 #94732F #4F942F
monochromatic
#181137 #2D2066 #412F94 #563EC2 #7F6DD1

Accessibility & contrast

On white

10.20
#412F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#412F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F94
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F94#FFFFFF#000000##FFFFFF
##412F941.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#1B495D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412f94;
/* rgb */ color: rgb(65, 47, 148);
/* oklch */ color: oklch(39.1% 0.157 284.6);
Tailwind
colors: {
  custom: {
    50: '#7e69b4',
    500: '#412f94',
    950: '#000000',
  },
}
SCSS
$custom: #412f94;
$custom-light: #7e69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412f94",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 250.693,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39101,
    "c": 0.15732,
    "h": 284.6
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#412F94
secondary
#A9B867
accent
#DB4DC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412F94

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

Preview Lab → · Contrast checker → · Palette generator →

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