#412093#412093

#412093 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.173 H 287.7°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#412093
RGBrgb(65, 32, 147)
HSLhsl(257, 64%, 35%)
HSVhsv(257, 78%, 58%)
CMYKcmyk(55.8%, 78.2%, 0%, 42.4%)
CIE-LABlab(24.52, 44.10, -57.32)
CIE-LCHlch(24.52, 72.32, 307.58°)
OKLaboklab(36.92% 0.0528 -0.1649)
OKLCHoklch(36.92% 0.173 287.7)
XYZxyz(7.9614, 4.2630, 28.0014)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412093 #729320
analogous
#203993 #412093 #7A2093
triadic
#412093 #934120 #209341
tetradic
#412093 #932039 #729320 #20937A
square
#412093 #932039 #729320 #20937A
split-complementary
#412093 #937A20 #399320
monochromatic
#150A2E #2B1561 #412093 #572BC5 #7A54DA

Accessibility & contrast

On white

11.34
#412093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412093
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412093#FFFFFF#000000##FFFFFF
##4120931.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#1E4159
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412093;
/* rgb */ color: rgb(65, 32, 147);
/* oklch */ color: oklch(36.9% 0.173 287.7);
Tailwind
colors: {
  custom: {
    50: '#7f60b4',
    500: '#412093',
    950: '#000000',
  },
}
SCSS
$custom: #412093;
$custom-light: #7f60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412093",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 257.217,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36917,
    "c": 0.17316,
    "h": 287.7
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#412093
secondary
#9EBD52
accent
#E741B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412093

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

Preview Lab → · Contrast checker → · Palette generator →

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