#412292#412292

#412292 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.170 H 287.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#412292
RGBrgb(65, 34, 146)
HSLhsl(257, 62%, 35%)
HSVhsv(257, 77%, 57%)
CMYKcmyk(55.5%, 76.7%, 0%, 42.7%)
CIE-LABlab(24.77, 42.81, -56.29)
CIE-LCHlch(24.77, 70.72, 307.26°)
OKLaboklab(37.06% 0.0515 -0.1619)
OKLCHoklch(37.06% 0.17 287.6)
XYZxyz(7.9388, 4.3428, 27.6085)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412292 #739222
analogous
#223B92 #412292 #792292
triadic
#412292 #924122 #229241
tetradic
#412292 #92223B #739222 #229279
square
#412292 #92223B #739222 #229279
split-complementary
#412292 #927922 #3B9222
monochromatic
#150B2F #2B1660 #412292 #572EC4 #7A57D8

Accessibility & contrast

On white

11.24
#412292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412292
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412292#FFFFFF#000000##FFFFFF
##4122921.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#1F4158
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412292;
/* rgb */ color: rgb(65, 34, 146);
/* oklch */ color: oklch(37.1% 0.170 287.6);
Tailwind
colors: {
  custom: {
    50: '#7f61b3',
    500: '#412292',
    950: '#000000',
  },
}
SCSS
$custom: #412292;
$custom-light: #7f61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412292",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 256.607,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37063,
    "c": 0.16993,
    "h": 287.6
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#412292
secondary
#9FBC54
accent
#E543B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412292

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

Preview Lab → · Contrast checker → · Palette generator →

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