#412092#412092

#412092 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.172 H 288.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#412092
RGBrgb(65, 32, 146)
HSLhsl(257, 64%, 35%)
HSVhsv(257, 78%, 57%)
CMYKcmyk(55.5%, 78.1%, 0%, 42.7%)
CIE-LABlab(24.42, 43.81, -56.86)
CIE-LCHlch(24.42, 71.78, 307.61°)
OKLaboklab(36.82% 0.0531 -0.1636)
OKLCHoklch(36.82% 0.172 288)
XYZxyz(7.8833, 4.2318, 27.5900)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412092 #719220
analogous
#203892 #412092 #7A2092
triadic
#412092 #924120 #209241
tetradic
#412092 #922038 #719220 #20927A
square
#412092 #922038 #719220 #20927A
split-complementary
#412092 #927A20 #389220
monochromatic
#140A2E #2B1560 #412092 #572BC4 #7A53D9

Accessibility & contrast

On white

11.37
#412092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412092
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412092#FFFFFF#000000##FFFFFF
##4120921.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#1F4058
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412092;
/* rgb */ color: rgb(65, 32, 146);
/* oklch */ color: oklch(36.8% 0.172 288.0);
Tailwind
colors: {
  custom: {
    50: '#7f60b3',
    500: '#412092',
    950: '#000000',
  },
}
SCSS
$custom: #412092;
$custom-light: #7f60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412092",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 257.368,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36818,
    "c": 0.17198,
    "h": 288
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412092

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

Preview Lab → · Contrast checker → · Palette generator →

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